CommonHelperWhitenColor Method |
Whiten a provided color by applying per channel percentages.
Namespace:
Internal.ComponentFactory.Krypton.Toolkit
Assembly:
NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Color WhitenColor(
Color color1,
float percentR,
float percentG,
float percentB
)
Parameters
- color1
- Type: System.DrawingColor
Color. - percentR
- Type: SystemSingle
Percentage of red to keep. - percentG
- Type: SystemSingle
Percentage of green to keep. - percentB
- Type: SystemSingle
Percentage of blue to keep.
Return Value
Type:
ColorModified color.
See Also