36 references to FromArgb
System.ComponentModel.TypeConverter (1)
src\runtime\src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
66
4 => PossibleKnownColor(Color.
FromArgb
(IntFromString(textSpan[tokens[0]], culture), IntFromString(textSpan[tokens[1]], culture), IntFromString(textSpan[tokens[2]], culture), IntFromString(textSpan[tokens[3]], culture))),
System.Drawing.Primitives (2)
src\runtime\src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
66
4 => PossibleKnownColor(Color.
FromArgb
(IntFromString(textSpan[tokens[0]], culture), IntFromString(textSpan[tokens[1]], culture), IntFromString(textSpan[tokens[2]], culture), IntFromString(textSpan[tokens[3]], culture))),
System\Drawing\Color.cs (1)
473
public static Color FromArgb(int red, int green, int blue) =>
FromArgb
(byte.MaxValue, red, green, blue);
System.Windows.Forms (29)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
27
Color.
FromArgb
(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
69
=> Color.
FromArgb
(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B);
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (2)
295
return Color.
FromArgb
(newAlpha, red, green, blue);
299
return g.FindNearestColor(Color.
FromArgb
(newAlpha, red, green, blue));
System\Windows\Forms\DarkProfessionalColors.cs (5)
11
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
14
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
17
=> Color.
FromArgb
(0xFF, 0x60, 0x60, 0x60);
23
=> Color.
FromArgb
(0xFF, 0x40, 0x40, 0x40);
26
=> Color.
FromArgb
(0xFF, 0x40, 0x40, 0x40);
System\Windows\Forms\Rendering\ControlPaint.cs (20)
71
private static readonly Color s_darkModeBackgroundPressed = Color.
FromArgb
(255, 70, 70, 70);
72
private static readonly Color s_darkModeBackgroundDisabled = Color.
FromArgb
(255, 45, 45, 45);
73
private static readonly Color s_darkModeBackgroundNormal = Color.
FromArgb
(255, 60, 60, 60);
74
private static readonly Color s_darkModeBackgroundHover = Color.
FromArgb
(255, 80, 80, 80);
76
private static readonly Color s_darkModeBorderPressed = Color.
FromArgb
(255, 80, 80, 80);
77
private static readonly Color s_darkModeBorderDisabled = Color.
FromArgb
(255, 50, 50, 50);
78
private static readonly Color s_darkModeBorderNormal = Color.
FromArgb
(255, 90, 90, 90);
79
private static readonly Color s_darkModeBorderHover = Color.
FromArgb
(255, 110, 110, 110);
81
private static readonly Color s_darkModeArrowDisabled = Color.
FromArgb
(255, 100, 100, 100);
82
private static readonly Color s_darkModeArrowNormal = Color.
FromArgb
(255, 220, 220, 220);
85
private static readonly Color s_lightModeBackgroundPressed = Color.
FromArgb
(255, 218, 218, 218);
86
private static readonly Color s_lightModeBackgroundDisabled = Color.
FromArgb
(255, 244, 244, 244);
87
private static readonly Color s_lightModeBackgroundNormal = Color.
FromArgb
(255, 241, 241, 241);
88
private static readonly Color s_lightModeBackgroundHover = Color.
FromArgb
(255, 220, 220, 220);
90
private static readonly Color s_lightModeBorderPressed = Color.
FromArgb
(255, 166, 166, 166);
91
private static readonly Color s_lightModeBorderDisabled = Color.
FromArgb
(255, 205, 205, 205);
92
private static readonly Color s_lightModeBorderNormal = Color.
FromArgb
(255, 195, 195, 195);
93
private static readonly Color s_lightModeBorderHover = Color.
FromArgb
(255, 170, 170, 170);
95
private static readonly Color s_lightModeArrowDisabled = Color.
FromArgb
(255, 170, 170, 170);
96
private static readonly Color s_lightModeArrowNormal = Color.
FromArgb
(255, 68, 68, 68);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
438
Color testColor = Color.
FromArgb
(255, 252, 186, 238);
System.Windows.Forms.Primitives (2)
System\Windows\Forms\SystemDrawingExtensions.cs (2)
74
return Color.
FromArgb
(
87
return Color.
FromArgb
(argb.A, (byte)~argb.R, (byte)~argb.G, (byte)~argb.B);
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
323
return SD.Color.
FromArgb
(color.A, color.R, color.G, color.B);