13 instantiations of Color
PresentationCore (10)
System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
222Color from = new Color(); 223Color to = new Color(); 224Color accumulated = new Color(); 225Color foundation = new Color();
System\Windows\Media\Color.cs (6)
38Color c1 = new Color(); 118Color c1 = new Color(); 140Color c1 = new Color(); 171Color c1 = new Color(); 411Color c1 = new Color(); 530Color c1 = new Color();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2630bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Color(); };
System\Windows\Markup\KnownTypes.cs (1)
1167case KnownElements.Color: o = new System.Windows.Media.Color(); break;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
435Color darkDarkColor = new Color();
1861 references to Color
Microsoft.CodeAnalysis.EditorFeatures.Wpf (64)
Adornments\BrushTag.cs (3)
22private static readonly Color s_lightGray = Color.FromRgb(0xA5, 0xA5, 0xA5); 34protected abstract Color? GetColor(IWpfTextView view, IEditorFormatMap editorFormatMap);
BraceMatching\BraceMatchingTypeFormatDefinitions.cs (1)
31this.BackgroundColor = Color.FromRgb(0xDB, 0xE0, 0xCC);
Classification\ClassificationTypeFormatDefinitions.cs (39)
90this.ForegroundColor = Color.FromRgb(0x9e, 0x5b, 0x71); 222this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 280this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 300this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 320this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 339this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 359this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 379this.ForegroundColor = Color.FromRgb(0x2B, 0x91, 0xAF); 584this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 602this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 622this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 640this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 658this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 676this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 712this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 730this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 767this.BackgroundColor = Color.FromRgb(0xe5, 0xe5, 0xe5); 785this.ForegroundColor = Color.FromRgb(0xff, 0x00, 0xc1); 805this.ForegroundColor = Color.FromRgb(0x00, 0x80, 0x00); 823this.ForegroundColor = Color.FromRgb(0x00, 0x73, 0xff); 841this.ForegroundColor = Color.FromRgb(0xff, 0x00, 0xc1); 859this.ForegroundColor = Color.FromRgb(0xff, 0x00, 0xc1); 877this.ForegroundColor = Color.FromRgb(0x05, 0xc3, 0xba); 895this.ForegroundColor = Color.FromRgb(0x05, 0xc3, 0xba); 913this.ForegroundColor = Color.FromRgb(0x80, 0x00, 0x00); 934this.ForegroundColor = Color.FromRgb(0x80, 0x00, 0x00); 953this.ForegroundColor = Color.FromRgb(0x9e, 0x5b, 0x71); 1129this.ForegroundColor = Color.FromRgb(0xB9, 0x64, 0x64); // HC_LIGHTRED 1146this.ForegroundColor = Color.FromRgb(0x55, 0x55, 0x55); // HC_LIGHTBLACK 1163this.ForegroundColor = Color.FromRgb(0x64, 0x64, 0xB9); // HC_LIGHTBLUE 1180this.ForegroundColor = Color.FromRgb(0x80, 0x80, 0x80); // CIDARKGRAY 1197this.ForegroundColor = Color.FromRgb(0x62, 0x97, 0x55); // HC_LIGHTGREEN 1214this.ForegroundColor = Color.FromRgb(0x64, 0x64, 0xB9); // HC_LIGHTBLUE 1231this.ForegroundColor = Color.FromRgb(0x55, 0x55, 0x55); // HC_LIGHTBLACK 1232this.BackgroundColor = Color.FromRgb(0xFF, 0xFE, 0xBF); // HC_LIGHTYELLOW 1249this.ForegroundColor = Color.FromRgb(0xB9, 0x64, 0x64); // HC_LIGHTRED 1266this.ForegroundColor = Color.FromRgb(0x84, 0x46, 0x46); // HC_LIGHTMAROON 1283this.ForegroundColor = Color.FromRgb(0xC0, 0xC0, 0xC0); // HC_LIGHTGRAY 1300this.ForegroundColor = Color.FromRgb(0x55, 0x55, 0x55); // HC_LIGHTBLACK
InlineDiagnostics\InlineDiagnosticsFormatDefinition.cs (5)
37BackgroundBrush = new SolidColorBrush(Color.FromRgb(252, 62, 54)); 38ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0)); 57BackgroundBrush = new SolidColorBrush(Color.FromRgb(149, 219, 125)); 58ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0)); 78ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0));
InlineDiagnostics\InlineDiagnosticsTag.cs (3)
110var editorBackground = (Color)_editorFormatMap.GetProperties("TextView Background")["BackgroundColor"]; 196protected override Color? GetColor(IWpfTextView view, IEditorFormatMap editorFormatMap)
InlineHints\InlineHintsFormatDefinition.cs (2)
35this.ForegroundBrush = new SolidColorBrush(Color.FromRgb(104, 104, 104)); 36this.BackgroundBrush = new SolidColorBrush(Color.FromRgb(230, 230, 230));
InlineRename\HighlightTags\RenameFieldBackgroundAndBorderTagDefinition.cs (2)
27this.Border = new Pen(new SolidColorBrush(Color.FromRgb(0xFF, 0xFF, 0xFF)), thickness: 2.0); 28this.BackgroundColor = Color.FromRgb(0xd3, 0xf8, 0xd3);
InlineRename\Taggers\ClassificationFormatDefinitions.cs (1)
28this.ForegroundColor = Color.FromRgb(0x00, 0x64, 0x00);
IWpfThemeService.cs (1)
14Color GetThemeColor(ThemeResourceKey resourceKey);
LineSeparators\LineSeparatorTag.cs (1)
26protected override Color? GetColor(
PreviewWarningTagDefinition.cs (1)
27this.Border = new Pen(new SolidColorBrush(Color.FromRgb(230, 117, 64)), thickness: 1.5);
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
26this.BackgroundColor = Color.FromRgb(219, 224, 204);
ReferenceHighlighting\WrittenReferenceHighlightTagDefinition.cs (1)
26this.BackgroundColor = Color.FromRgb(219, 224, 204);
StringIndentation\StringIndentationTag.cs (1)
34protected override Color? GetColor(IWpfTextView view, IEditorFormatMap editorFormatMap)
Utilities\BrushToColorConverter.cs (2)
12internal class BrushToColorConverter : ValueConverter<Brush, Color> 14protected override Color Convert(Brush brush, object parameter, CultureInfo culture)
Microsoft.VisualStudio.LanguageServices (8)
ChangeSignature\ChangeSignatureDialog.xaml.cs (4)
63ParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E)); 65DisabledParameterBackground = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3)); 66DisabledParameterForeground = SystemParameters.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5)); 67Members.Background = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
InheritanceMargin\InheritanceGlyphManager.cs (2)
224var backgroundColor = (Color)resourceDictionary[EditorFormatDefinition.BackgroundColorId];
VSWpfThemeService.cs (2)
33public Color GetThemeColor(ThemeResourceKey themeResourceKey) 36return Color.FromArgb(color.A, color.R, color.G, color.B);
PresentationCore (575)
MS\Internal\AnimatedTypeHelpers.cs (17)
25internal static Color InterpolateColor(Color from, Color to, Double progress) 164internal static Color AddColor(Color value1, Color value2) 266internal static Color SubtractColor(Color value1, Color value2) 385internal static Double GetSegmentLengthColor(Color from, Color to) 514internal static Color ScaleColor(Color value, Double factor) 622internal static bool IsValidAnimationValueColor(Color value) 764internal static Color GetZeroValueColor(Color baseValue) 766return Color.FromScRgb(0.0F, 0.0F, 0.0F, 0.0F);
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
783if (!(value is System.Windows.Media.Color)) 785throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(System.Windows.Media.Color)), "value");
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (5)
267Color color = Color.FromRgb((byte)(dw & 0xff), (byte)((dw & 0xff00) >> Native.BitsPerByte), (byte)((dw & 0xff0000) >> (Native.BitsPerByte * 2))); 409Color color = da.Color; 498Color daColor = da.Color; 499System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!");
MS\Internal\Ink\Renderer.cs (11)
121internal Color CachedColor 129private Color _cachedColor; 138internal HighlighterContainerVisual(Color color) 146internal Color Color 150private Color _color; 376internal void TurnHighContrastOn(Color strokeColor) 411public Color GetHighContrastColor() 653Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.Color); 658_highlighters = new Dictionary<Color, HighlighterContainerVisual>(); 693private Dictionary<Color, HighlighterContainerVisual> _highlighters = null; 703private Color _highContrastColor = Colors.White;
MS\Internal\Ink\StrokeRenderer.cs (2)
1107internal static Color GetHighlighterColor(Color color)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1747Color color = ((SolidColorBrush)foregroundBrush).Color; 1748foregroundBrush = new SolidColorBrush(Color.FromArgb(
MS\Internal\WindowsRuntime\Windows\UI\ViewManagement\UISettings.cs (14)
15private static readonly Color _fallbackAccentColor = Color.FromArgb(0xff, 0x00, 0x78, 0xd4); 17private Color _accentColor, _accentLight1, _accentLight2, _accentLight3; 18private Color _accentDark1, _accentDark2, _accentDark3; 50internal bool TryGetColorValue(UISettingsRCW.UIColorType desiredColor, out Color color) 57color = Color.FromArgb(uiColor.A, uiColor.R, uiColor.G, uiColor.B); 84if(TryGetColorValue(UISettingsRCW.UIColorType.Accent, out Color systemAccent)) 130internal Color AccentColor => _useFallbackColor ? _fallbackAccentColor : _accentColor; 131internal Color AccentLight1 => _useFallbackColor ? _fallbackAccentColor : _accentLight1; 132internal Color AccentLight2 => _useFallbackColor ? _fallbackAccentColor : _accentLight2; 133internal Color AccentLight3 => _useFallbackColor ? _fallbackAccentColor : _accentLight3; 134internal Color AccentDark1 => _useFallbackColor ? _fallbackAccentColor : _accentDark1; 135internal Color AccentDark2 => _useFallbackColor ? _fallbackAccentColor : _accentDark2; 136internal Color AccentDark3 => _useFallbackColor ? _fallbackAccentColor : _accentDark3;
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
2317Color color, 2386Color colorKey,
System\Windows\Ink\DrawingAttributes.cs (3)
64public Color Color 71Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 74return (Color)GetExtendedPropertyBackedProperty(KnownIds.Color);
System\Windows\Ink\StrokeCollection2.cs (3)
369Dictionary<Color, List<Stroke>> highLighters = new Dictionary<Color, List<Stroke>>(); 379Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
47Color color = _drawingAttributes.Color;
System\Windows\InterOp\HwndTarget.cs (3)
112private Color _backgroundColor = Color.FromRgb(0, 0, 0); 2359public Color BackgroundColor
System\Windows\Media\Animation\AnimationStorage.cs (1)
1119else if (type == typeof(Color))
System\Windows\Media\Animation\Generated\ColorAnimation.cs (32)
32private Color[] _keyValues; 47Type typeofProp = typeof(Color?); 56new PropertyMetadata((Color?)null, propCallback), 63new PropertyMetadata((Color?)null, propCallback), 70new PropertyMetadata((Color?)null, propCallback), 94public ColorAnimation(Color toValue, Duration duration) 106public ColorAnimation(Color toValue, Duration duration, FillBehavior fillBehavior) 119public ColorAnimation(Color fromValue, Color toValue, Duration duration) 132public ColorAnimation(Color fromValue, Color toValue, Duration duration, FillBehavior fillBehavior) 205protected override Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 222Color from = new Color(); 223Color to = new Color(); 224Color accumulated = new Color(); 225Color foundation = new Color(); 339Color accumulator = AnimatedTypeHelpers.SubtractColor(to, from); 364_keyValues = new Color[2]; 371_keyValues = new Color[2]; 378_keyValues = new Color[1]; 385_keyValues = new Color[1]; 391_keyValues = new Color[1]; 412Color? typedValue = (Color?)value; 432public Color? From 436return (Color?)GetValue(FromProperty); 452public Color? To 456return (Color?)GetValue(ToProperty); 472public Color? By 476return (Color?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (9)
82return GetCurrentValue((Color)defaultOriginValue, (Color)defaultDestinationValue, animationClock); 94return typeof(Color); 131public Color GetCurrentValue(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 191protected abstract Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (8)
308protected sealed override Color GetCurrentValueCore( 309Color defaultOriginValue, 310Color defaultDestinationValue, 336Color currentIterationValue; 372Color fromValue; 617private Color GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 928Color prevKeyValue = _keyFrames[index - 1].Value; 932Color currentKeyValue = _keyFrames[index].Value;
System\Windows\Media\Animation\Generated\ColorIndependentAnimationStorage.cs (2)
45Color tempValue = (Color)dobj.GetValue(_dependencyProperty);
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
268public DiscreteColorKeyFrame(Color value) 276public DiscreteColorKeyFrame(Color value, KeyTime keyTime) 304protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
166public EasingColorKeyFrame(Color value) 175public EasingColorKeyFrame(Color value, KeyTime keyTime) 185public EasingColorKeyFrame(Color value, KeyTime keyTime, IEasingFunction easingFunction) 214protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
459protected ColorKeyFrame(Color value) 468protected ColorKeyFrame(Color value, KeyTime keyTime) 511typeof(Color), 526Value = (Color)value; 533public Color Value 537return (Color)GetValue(ValueProperty); 554public Color InterpolateValue( 555Color baseValue, 572protected abstract Color InterpolateValueCore( 573Color baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
118public LinearColorKeyFrame(Color value) 126public LinearColorKeyFrame(Color value, KeyTime keyTime) 152protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
168public SplineColorKeyFrame(Color value) 177public SplineColorKeyFrame(Color value, KeyTime keyTime) 187public SplineColorKeyFrame(Color value, KeyTime keyTime, KeySpline keySpline) 218protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Color.cs (58)
21public struct Color : IFormattable, IEquatable<Color> 36private static Color FromProfile(Uri profileUri) 38Color c1 = new Color(); 66public static Color FromAValues(float a, float[] values, Uri profileUri) 68Color c1 = Color.FromProfile(profileUri); 106public static Color FromValues(float[] values, Uri profileUri) 108Color c1 = Color.FromAValues(1.0f, values, profileUri); 116internal static Color FromUInt32(uint argb)// internal legacy sRGB interface 118Color c1 = new Color(); 138public static Color FromScRgb(float a, float r, float g, float b) 140Color c1 = new Color(); 169public static Color FromArgb(byte a, byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 171Color c1 = new Color(); 191public static Color FromRgb(byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 193Color c1 = Color.FromArgb(0xff, r, g, b); 320public static bool AreClose(Color color1, Color color2) 332private bool IsClose(Color color) 398public static Color operator +(Color color1, Color color2) 402Color c1 = FromScRgb( 411Color c1 = new Color(); 421Color c2 = Color.FromRgb(0, 0, 0); 500public static Color Add(Color color1, Color color2) 512public static Color operator -(Color color1, Color color2) 516Color c1 = FromScRgb( 530Color c1 = new Color(); 540Color c2 = Color.FromRgb(0, 0, 0); 619public static Color Subtract(Color color1, Color color2) 630public static Color operator *(Color color, float coefficient) 632Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 652public static Color Multiply(Color color, float coefficient) 660public static bool Equals(Color color1, Color color2) 672public bool Equals(Color color) 686if (o is Color) 688Color color = (Color)o; 703public static bool operator ==(Color color1, Color color2) 772public static bool operator !=(Color color1, Color color2) 1087Color c2 = Color.FromRgb(0, 0, 0);
System\Windows\Media\ColorConverter.cs (6)
100if (destinationType != null && value is Color) 104MethodInfo mi = typeof(Color).GetMethod("FromArgb", new Type[]{typeof(byte), typeof(byte), typeof(byte), typeof(byte)}); 105Color c = (Color)value; 110Color c = (Color)value;
System\Windows\Media\Composition.cs (1)
14internal static MilColorF ColorToMilColorF(Color c)
System\Windows\Media\Effects\DropShadowBitmapEffect.cs (1)
68Color color = Color;
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (4)
118public Color Color 122return (Color) GetValue(ColorProperty); 293internal static Color s_Color = Colors.Black; 333typeof(Color),
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (4)
120public Color Color 124return (Color) GetValue(ColorProperty); 381internal static Color s_Color = Colors.Black; 421typeof(Color),
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (4)
89public Color GlowColor 93return (Color) GetValue(GlowColorProperty); 240internal static Color s_GlowColor = Colors.Gold; 270typeof(Color),
System\Windows\Media\Effects\ShaderEffect.cs (4)
833type == typeof(Color) || 887else if (t == typeof(Color)) 889Color col = (Color)value;
System\Windows\Media\Generated\GradientStop.cs (4)
77public Color Color 81return (Color) GetValue(ColorProperty); 234typeof(Color), 268internal static Color s_Color = Colors.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (4)
70public Color Color 74return (Color) GetValue(ColorProperty); 284internal static Color s_Color = Colors.Transparent; 311typeof(Color),
System\Windows\Media\GradientStop.cs (1)
39public GradientStop(Color color, double offset)
System\Windows\Media\Imaging\BitmapPalette.cs (14)
29public BitmapPalette(IList<Color> colors) 40Color[] colorArray = new Color[count]; 47_colors = new PartialList<Color>(colorArray); 198public IList<Color> Colors 232foreach (Color color in palette.Colors) 274Color color = _colors[i]; 302List<Color> colors = new List<Color>(); 329colors.Add(Color.FromArgb(c.A, c.R, c.G, c.B)); 333_colors = new PartialList<Color>(colors); 368private IList<Color> _colors = new PartialList<Color>(new List<Color>());
System\Windows\Media\Knowncolors.cs (283)
217scp = new SolidColorBrush(Color.FromUInt32(argb)); 715public static Color AliceBlue 719return Color.FromUInt32((uint)KnownColor.AliceBlue); 726public static Color AntiqueWhite 730return Color.FromUInt32((uint)KnownColor.AntiqueWhite); 737public static Color Aqua 741return Color.FromUInt32((uint)KnownColor.Aqua); 748public static Color Aquamarine 752return Color.FromUInt32((uint)KnownColor.Aquamarine); 759public static Color Azure 763return Color.FromUInt32((uint)KnownColor.Azure); 770public static Color Beige 774return Color.FromUInt32((uint)KnownColor.Beige); 781public static Color Bisque 785return Color.FromUInt32((uint)KnownColor.Bisque); 792public static Color Black 796return Color.FromUInt32((uint)KnownColor.Black); 803public static Color BlanchedAlmond 807return Color.FromUInt32((uint)KnownColor.BlanchedAlmond); 814public static Color Blue 818return Color.FromUInt32((uint)KnownColor.Blue); 825public static Color BlueViolet 829return Color.FromUInt32((uint)KnownColor.BlueViolet); 836public static Color Brown 840return Color.FromUInt32((uint)KnownColor.Brown); 847public static Color BurlyWood 851return Color.FromUInt32((uint)KnownColor.BurlyWood); 858public static Color CadetBlue 862return Color.FromUInt32((uint)KnownColor.CadetBlue); 869public static Color Chartreuse 873return Color.FromUInt32((uint)KnownColor.Chartreuse); 880public static Color Chocolate 884return Color.FromUInt32((uint)KnownColor.Chocolate); 891public static Color Coral 895return Color.FromUInt32((uint)KnownColor.Coral); 902public static Color CornflowerBlue 906return Color.FromUInt32((uint)KnownColor.CornflowerBlue); 913public static Color Cornsilk 917return Color.FromUInt32((uint)KnownColor.Cornsilk); 924public static Color Crimson 928return Color.FromUInt32((uint)KnownColor.Crimson); 935public static Color Cyan 939return Color.FromUInt32((uint)KnownColor.Cyan); 946public static Color DarkBlue 950return Color.FromUInt32((uint)KnownColor.DarkBlue); 957public static Color DarkCyan 961return Color.FromUInt32((uint)KnownColor.DarkCyan); 968public static Color DarkGoldenrod 972return Color.FromUInt32((uint)KnownColor.DarkGoldenrod); 979public static Color DarkGray 983return Color.FromUInt32((uint)KnownColor.DarkGray); 990public static Color DarkGreen 994return Color.FromUInt32((uint)KnownColor.DarkGreen); 1001public static Color DarkKhaki 1005return Color.FromUInt32((uint)KnownColor.DarkKhaki); 1012public static Color DarkMagenta 1016return Color.FromUInt32((uint)KnownColor.DarkMagenta); 1023public static Color DarkOliveGreen 1027return Color.FromUInt32((uint)KnownColor.DarkOliveGreen); 1034public static Color DarkOrange 1038return Color.FromUInt32((uint)KnownColor.DarkOrange); 1045public static Color DarkOrchid 1049return Color.FromUInt32((uint)KnownColor.DarkOrchid); 1056public static Color DarkRed 1060return Color.FromUInt32((uint)KnownColor.DarkRed); 1067public static Color DarkSalmon 1071return Color.FromUInt32((uint)KnownColor.DarkSalmon); 1078public static Color DarkSeaGreen 1082return Color.FromUInt32((uint)KnownColor.DarkSeaGreen); 1089public static Color DarkSlateBlue 1093return Color.FromUInt32((uint)KnownColor.DarkSlateBlue); 1100public static Color DarkSlateGray 1104return Color.FromUInt32((uint)KnownColor.DarkSlateGray); 1111public static Color DarkTurquoise 1115return Color.FromUInt32((uint)KnownColor.DarkTurquoise); 1122public static Color DarkViolet 1126return Color.FromUInt32((uint)KnownColor.DarkViolet); 1133public static Color DeepPink 1137return Color.FromUInt32((uint)KnownColor.DeepPink); 1144public static Color DeepSkyBlue 1148return Color.FromUInt32((uint)KnownColor.DeepSkyBlue); 1155public static Color DimGray 1159return Color.FromUInt32((uint)KnownColor.DimGray); 1166public static Color DodgerBlue 1170return Color.FromUInt32((uint)KnownColor.DodgerBlue); 1177public static Color Firebrick 1181return Color.FromUInt32((uint)KnownColor.Firebrick); 1188public static Color FloralWhite 1192return Color.FromUInt32((uint)KnownColor.FloralWhite); 1199public static Color ForestGreen 1203return Color.FromUInt32((uint)KnownColor.ForestGreen); 1210public static Color Fuchsia 1214return Color.FromUInt32((uint)KnownColor.Fuchsia); 1221public static Color Gainsboro 1225return Color.FromUInt32((uint)KnownColor.Gainsboro); 1232public static Color GhostWhite 1236return Color.FromUInt32((uint)KnownColor.GhostWhite); 1243public static Color Gold 1247return Color.FromUInt32((uint)KnownColor.Gold); 1254public static Color Goldenrod 1258return Color.FromUInt32((uint)KnownColor.Goldenrod); 1265public static Color Gray 1269return Color.FromUInt32((uint)KnownColor.Gray); 1276public static Color Green 1280return Color.FromUInt32((uint)KnownColor.Green); 1287public static Color GreenYellow 1291return Color.FromUInt32((uint)KnownColor.GreenYellow); 1298public static Color Honeydew 1302return Color.FromUInt32((uint)KnownColor.Honeydew); 1309public static Color HotPink 1313return Color.FromUInt32((uint)KnownColor.HotPink); 1320public static Color IndianRed 1324return Color.FromUInt32((uint)KnownColor.IndianRed); 1331public static Color Indigo 1335return Color.FromUInt32((uint)KnownColor.Indigo); 1342public static Color Ivory 1346return Color.FromUInt32((uint)KnownColor.Ivory); 1353public static Color Khaki 1357return Color.FromUInt32((uint)KnownColor.Khaki); 1364public static Color Lavender 1368return Color.FromUInt32((uint)KnownColor.Lavender); 1375public static Color LavenderBlush 1379return Color.FromUInt32((uint)KnownColor.LavenderBlush); 1386public static Color LawnGreen 1390return Color.FromUInt32((uint)KnownColor.LawnGreen); 1397public static Color LemonChiffon 1401return Color.FromUInt32((uint)KnownColor.LemonChiffon); 1408public static Color LightBlue 1412return Color.FromUInt32((uint)KnownColor.LightBlue); 1419public static Color LightCoral 1423return Color.FromUInt32((uint)KnownColor.LightCoral); 1430public static Color LightCyan 1434return Color.FromUInt32((uint)KnownColor.LightCyan); 1441public static Color LightGoldenrodYellow 1445return Color.FromUInt32((uint)KnownColor.LightGoldenrodYellow); 1452public static Color LightGray 1456return Color.FromUInt32((uint)KnownColor.LightGray); 1463public static Color LightGreen 1467return Color.FromUInt32((uint)KnownColor.LightGreen); 1474public static Color LightPink 1478return Color.FromUInt32((uint)KnownColor.LightPink); 1485public static Color LightSalmon 1489return Color.FromUInt32((uint)KnownColor.LightSalmon); 1496public static Color LightSeaGreen 1500return Color.FromUInt32((uint)KnownColor.LightSeaGreen); 1507public static Color LightSkyBlue 1511return Color.FromUInt32((uint)KnownColor.LightSkyBlue); 1518public static Color LightSlateGray 1522return Color.FromUInt32((uint)KnownColor.LightSlateGray); 1529public static Color LightSteelBlue 1533return Color.FromUInt32((uint)KnownColor.LightSteelBlue); 1540public static Color LightYellow 1544return Color.FromUInt32((uint)KnownColor.LightYellow); 1551public static Color Lime 1555return Color.FromUInt32((uint)KnownColor.Lime); 1562public static Color LimeGreen 1566return Color.FromUInt32((uint)KnownColor.LimeGreen); 1573public static Color Linen 1577return Color.FromUInt32((uint)KnownColor.Linen); 1584public static Color Magenta 1588return Color.FromUInt32((uint)KnownColor.Magenta); 1595public static Color Maroon 1599return Color.FromUInt32((uint)KnownColor.Maroon); 1606public static Color MediumAquamarine 1610return Color.FromUInt32((uint)KnownColor.MediumAquamarine); 1617public static Color MediumBlue 1621return Color.FromUInt32((uint)KnownColor.MediumBlue); 1628public static Color MediumOrchid 1632return Color.FromUInt32((uint)KnownColor.MediumOrchid); 1639public static Color MediumPurple 1643return Color.FromUInt32((uint)KnownColor.MediumPurple); 1650public static Color MediumSeaGreen 1654return Color.FromUInt32((uint)KnownColor.MediumSeaGreen); 1661public static Color MediumSlateBlue 1665return Color.FromUInt32((uint)KnownColor.MediumSlateBlue); 1672public static Color MediumSpringGreen 1676return Color.FromUInt32((uint)KnownColor.MediumSpringGreen); 1683public static Color MediumTurquoise 1687return Color.FromUInt32((uint)KnownColor.MediumTurquoise); 1694public static Color MediumVioletRed 1698return Color.FromUInt32((uint)KnownColor.MediumVioletRed); 1705public static Color MidnightBlue 1709return Color.FromUInt32((uint)KnownColor.MidnightBlue); 1716public static Color MintCream 1720return Color.FromUInt32((uint)KnownColor.MintCream); 1727public static Color MistyRose 1731return Color.FromUInt32((uint)KnownColor.MistyRose); 1738public static Color Moccasin 1742return Color.FromUInt32((uint)KnownColor.Moccasin); 1749public static Color NavajoWhite 1753return Color.FromUInt32((uint)KnownColor.NavajoWhite); 1760public static Color Navy 1764return Color.FromUInt32((uint)KnownColor.Navy); 1771public static Color OldLace 1775return Color.FromUInt32((uint)KnownColor.OldLace); 1782public static Color Olive 1786return Color.FromUInt32((uint)KnownColor.Olive); 1793public static Color OliveDrab 1797return Color.FromUInt32((uint)KnownColor.OliveDrab); 1804public static Color Orange 1808return Color.FromUInt32((uint)KnownColor.Orange); 1815public static Color OrangeRed 1819return Color.FromUInt32((uint)KnownColor.OrangeRed); 1826public static Color Orchid 1830return Color.FromUInt32((uint)KnownColor.Orchid); 1837public static Color PaleGoldenrod 1841return Color.FromUInt32((uint)KnownColor.PaleGoldenrod); 1848public static Color PaleGreen 1852return Color.FromUInt32((uint)KnownColor.PaleGreen); 1859public static Color PaleTurquoise 1863return Color.FromUInt32((uint)KnownColor.PaleTurquoise); 1870public static Color PaleVioletRed 1874return Color.FromUInt32((uint)KnownColor.PaleVioletRed); 1881public static Color PapayaWhip 1885return Color.FromUInt32((uint)KnownColor.PapayaWhip); 1892public static Color PeachPuff 1896return Color.FromUInt32((uint)KnownColor.PeachPuff); 1903public static Color Peru 1907return Color.FromUInt32((uint)KnownColor.Peru); 1914public static Color Pink 1918return Color.FromUInt32((uint)KnownColor.Pink); 1925public static Color Plum 1929return Color.FromUInt32((uint)KnownColor.Plum); 1936public static Color PowderBlue 1940return Color.FromUInt32((uint)KnownColor.PowderBlue); 1947public static Color Purple 1951return Color.FromUInt32((uint)KnownColor.Purple); 1958public static Color Red 1962return Color.FromUInt32((uint)KnownColor.Red); 1969public static Color RosyBrown 1973return Color.FromUInt32((uint)KnownColor.RosyBrown); 1980public static Color RoyalBlue 1984return Color.FromUInt32((uint)KnownColor.RoyalBlue); 1991public static Color SaddleBrown 1995return Color.FromUInt32((uint)KnownColor.SaddleBrown); 2002public static Color Salmon 2006return Color.FromUInt32((uint)KnownColor.Salmon); 2013public static Color SandyBrown 2017return Color.FromUInt32((uint)KnownColor.SandyBrown); 2024public static Color SeaGreen 2028return Color.FromUInt32((uint)KnownColor.SeaGreen); 2035public static Color SeaShell 2039return Color.FromUInt32((uint)KnownColor.SeaShell); 2046public static Color Sienna 2050return Color.FromUInt32((uint)KnownColor.Sienna); 2057public static Color Silver 2061return Color.FromUInt32((uint)KnownColor.Silver); 2068public static Color SkyBlue 2072return Color.FromUInt32((uint)KnownColor.SkyBlue); 2079public static Color SlateBlue 2083return Color.FromUInt32((uint)KnownColor.SlateBlue); 2090public static Color SlateGray 2094return Color.FromUInt32((uint)KnownColor.SlateGray); 2101public static Color Snow 2105return Color.FromUInt32((uint)KnownColor.Snow); 2112public static Color SpringGreen 2116return Color.FromUInt32((uint)KnownColor.SpringGreen); 2123public static Color SteelBlue 2127return Color.FromUInt32((uint)KnownColor.SteelBlue); 2134public static Color Tan 2138return Color.FromUInt32((uint)KnownColor.Tan); 2145public static Color Teal 2149return Color.FromUInt32((uint)KnownColor.Teal); 2156public static Color Thistle 2160return Color.FromUInt32((uint)KnownColor.Thistle); 2167public static Color Tomato 2171return Color.FromUInt32((uint)KnownColor.Tomato); 2178public static Color Transparent 2182return Color.FromUInt32((uint)KnownColor.Transparent); 2189public static Color Turquoise 2193return Color.FromUInt32((uint)KnownColor.Turquoise); 2200public static Color Violet 2204return Color.FromUInt32((uint)KnownColor.Violet); 2211public static Color Wheat 2215return Color.FromUInt32((uint)KnownColor.Wheat); 2222public static Color White 2226return Color.FromUInt32((uint)KnownColor.White); 2233public static Color WhiteSmoke 2237return Color.FromUInt32((uint)KnownColor.WhiteSmoke); 2244public static Color Yellow 2248return Color.FromUInt32((uint)KnownColor.Yellow); 2255public static Color YellowGreen 2259return Color.FromUInt32((uint)KnownColor.YellowGreen);
System\Windows\Media\LinearGradientBrush.cs (4)
43public LinearGradientBrush(Color startColor, 44Color endColor, 61public LinearGradientBrush(Color startColor, 62Color endColor,
System\Windows\Media\Parsers.cs (11)
39static private Color ParseHexColor(string trimmedColor) 78return ( Color.FromArgb ((byte)a, (byte)r, (byte)g, (byte)b) ); 84static private Color ParseContextColor(string trimmedColor, IFormatProvider formatProvider, ITypeDescriptorContext context) 129Color result = Color.FromAValues(alpha, values, profileUri); 140static private Color ParseScRgbColor(string trimmedColor, IFormatProvider formatProvider) 168return Color.FromScRgb(values[0], values[1], values[2], values[3]); 172return Color.FromScRgb(1.0f, values[0], values[1], values[2]); 181internal static Color ParseColor(string color, IFormatProvider formatProvider) 192internal static Color ParseColor(string color, IFormatProvider formatProvider, ITypeDescriptorContext context) 230return Color.FromUInt32((uint)kc);
System\Windows\Media\RadialGradientBrush.cs (2)
39public RadialGradientBrush(Color startColor, 40Color endColor) : base()
System\Windows\Media\SolidColorBrush.cs (1)
31public SolidColorBrush(Color color)
System\Windows\Media3D\AmbientLight.cs (1)
41public AmbientLight(Color ambientColor)
System\Windows\Media3D\DirectionalLight.cs (1)
42public DirectionalLight(Color diffuseColor, Vector3D direction)
System\Windows\Media3D\Generated\DiffuseMaterial.cs (8)
121public Color Color 125return (Color) GetValue(ColorProperty); 136public Color AmbientColor 140return (Color) GetValue(AmbientColorProperty); 334internal static Color s_Color = Colors.White; 335internal static Color s_AmbientColor = Colors.White; 365typeof(Color), 374typeof(Color),
System\Windows\Media3D\Generated\EmissiveMaterial.cs (4)
114public Color Color 118return (Color) GetValue(ColorProperty); 307internal static Color s_Color = Colors.White; 337typeof(Color),
System\Windows\Media3D\Generated\Light.cs (4)
68public Color Color 72return (Color) GetValue(ColorProperty); 168internal static Color s_Color = Colors.White; 195typeof(Color),
System\Windows\Media3D\Generated\SpecularMaterial.cs (4)
121public Color Color 125return (Color) GetValue(ColorProperty); 334internal static Color s_Color = Colors.White; 365typeof(Color),
System\Windows\Media3D\PointLight.cs (1)
40public PointLight(Color diffuseColor, Point3D position)
System\Windows\Media3D\SpotLight.cs (1)
41public SpotLight(Color diffuseColor, Point3D position, Vector3D direction,
PresentationFramework (151)
MS\Internal\Annotations\Component\HighlightComponent.cs (21)
121public Color DefaultBackground 136public Color DefaultActiveBackground 386Color IHighlightRange.Background 397Color IHighlightRange.SelectedBackground 468internal static void GetCargoColors(Annotation annot, ref Nullable<Color> backgroundColor, ref Nullable<Color> activeBackgroundColor) 540private static Color GetColor(string color) 542return (Color)ColorConverter.ConvertFromString(color); 552private void GetColors(Annotation annot, out Color backgroundColor, out Color activeBackgroundColor) 554Nullable<Color> tempBackgroundColor = _defaultBackroundColor; 555Nullable<Color> tempActiveBackgroundColor = _defaultActiveBackgroundColor; 557backgroundColor = (Color)tempBackgroundColor; 558activeBackgroundColor = (Color)tempActiveBackgroundColor; 582Color background, activeBackground; 645private Color _background; 646private Color _selectedBackground; 660private Color _defaultBackroundColor = (Color)ColorConverter.ConvertFromString("#33FFFF00"); 661private Color _defaultActiveBackgroundColor = (Color)ColorConverter.ConvertFromString("#339ACD32");
MS\Internal\Annotations\Component\IHighlightRange.cs (2)
53Color Background 61Color SelectedBackground
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (8)
1131internal static Color DefaultAnchorBackground = (Color)ColorConverter.ConvertFromString("#3380FF80"); 1132internal static Color DefaultMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000"); 1133internal static Color DefaultActiveAnchorBackground = (Color)ColorConverter.ConvertFromString("#3300FF00"); 1134internal static Color DefaultActiveMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000");
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
41_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1); 44_adornerFillBrush = new LinearGradientBrush(Color.FromRgb(240, 242, 255), //start color 45Color.FromRgb(180, 207, 248), //end color
MS\Internal\Documents\TextBoxView.cs (1)
538context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height));
MS\Internal\Ink\HighContrastHelper.cs (2)
28internal abstract void TurnHighContrastOn(Color highContrastColor); 192Color windowTextColor = SystemColors.WindowTextColor;
MS\Internal\Ink\LassoHelper.cs (2)
46static readonly Color DotColor = Colors.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f); 47static readonly Color DotCircumferenceColor = Colors.White;
MS\Internal\Ink\PenCursorManager.cs (3)
441Color.FromRgb(240, 242, 255), // Start Color 442Color.FromRgb(180, 207, 248), // End Color 447SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
System\Windows\AccentColorHelper.cs (5)
12internal static Color GetAccentColor(UISettingsRCW.UIColorType uiColorType = UISettingsRCW.UIColorType.Accent) 14if (UISettings.TryGetColorValue(uiColorType, out Color color)) 26internal static Color SystemAccentColor 51private static readonly Color _defaultAccentColor = Color.FromArgb(0xff, 0x00, 0x78, 0xd4);
System\Windows\Annotations\AnnotationHelper.cs (4)
926Nullable<Color> color = null; 942color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B); 965private static Annotation ProcessHighlights(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color, bool create) 1017private static Annotation CreateHighlight(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1157border.SetValue(Border.BackgroundProperty, new SolidColorBrush(Color.FromUInt32(0xFF000080)));
System\Windows\Controls\InkCanvas.cs (1)
2941internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\InkPresenter.cs (1)
390internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\ProgressBar.cs (1)
191Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\TextRangeAdaptor.cs (1)
1258Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\CompositionAdorner.cs (4)
507Color lineColor = _textServicesDisplayAttribute.GetLineColor(start); 677internal CompositionLine(Rect startRect, Rect endRect, Color lineColor) 741internal Color LineColor 766private Color _color;
System\Windows\Documents\RtfToXamlReader.cs (23)
365internal static bool ColorToUse(ConverterState converterState, long cb, long cf, long shade, ref Color c) 387Color cCB = entryCB != null ? entryCB.Color : Color.FromArgb(0xFF, 0, 0, 0); 388Color cCF = entryCF != null ? entryCF.Color : Color.FromArgb(0xFF, 255, 255, 255); 393c = Color.FromArgb(0xff, 403c = Color.FromArgb(0xff, 413c = Color.FromArgb(0xff, 423c = Color.FromArgb(0xff, 3812_color = Color.FromArgb(0xff, 0, 0, 0); 3826internal Color Color 3854_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3862_color = Color.FromArgb(0xff, _color.R, value, _color.B); 3870_color = Color.FromArgb(0xff, _color.R, _color.G, value); 3884private Color _color; 3919internal Color ColorAt(int index) 3927return Color.FromArgb(0xff, 0, 0, 0); 3939int i = AddColor(Color.FromArgb(0xff, 0, 0, 0)); 3946internal int AddColor(Color color) 5137Color cToUse = Color.FromArgb(0xff, 0, 0, 0); 5196Color cToUse = Color.FromArgb(0xff, 0, 0, 0);
System\windows\Documents\TextSelection.cs (2)
1618Color backgroundColor; 1660caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
System\Windows\Documents\TextServicesDisplayAttribute.cs (5)
85internal static Color GetColor(UnsafeNativeMethods.TF_DA_COLOR dacolor, ITextPointer position) 95return Color.FromArgb((byte)((argb & 0xff000000) >> 24), (byte)((argb & 0x00ff0000) >> 16), (byte)((argb & 0x0000ff00) >> 8), (byte)(argb & 0x000000ff)); 105internal Color GetLineColor(ITextPointer position) 170private static Color GetSystemColor(int index) 177return Color.FromArgb((byte)((argb&0xff000000)>>24), (byte)((argb&0x00ff0000)>>16),(byte)((argb&0x0000ff00)>>8), (byte)(argb&0x000000ff));
System\Windows\Documents\XamlToRtfWriter.cs (7)
53colorTable.AddColor(Color.FromArgb(0xff, 0, 0, 0)); 54colorTable.AddColor(Color.FromArgb(0xff, 0xff, 0xff, 0xff)); 557Color color = colorTable.ColorAt(i); 3636Color color = Color.FromRgb((byte)((colorValue & 0x00ff0000) >> 16), 3648Color color = (Color)ColorConverter.ConvertFromString(brush);
System\Windows\FluentThemeState.cs (1)
16public Color AccentColor {get; init;}
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
175case 81: t = () => typeof(Color); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2628typeof(System.Windows.Media.Color),
System\Windows\Markup\KnownTypes.cs (1)
5635case KnownElements.Color: t = typeof(System.Windows.Media.Color); break;
System\Windows\Standard\Utilities.cs (2)
28public static Color ColorFromArgbDword(uint color) 30return Color.FromArgb(
System\Windows\SystemColors.cs (44)
22public static Color ActiveBorderColor 33public static Color ActiveCaptionColor 44public static Color ActiveCaptionTextColor 55public static Color AppWorkspaceColor 66public static Color ControlColor 77public static Color ControlDarkColor 88public static Color ControlDarkDarkColor 99public static Color ControlLightColor 110public static Color ControlLightLightColor 121public static Color ControlTextColor 132public static Color DesktopColor 143public static Color GradientActiveCaptionColor 154public static Color GradientInactiveCaptionColor 165public static Color GrayTextColor 176public static Color HighlightColor 187public static Color HighlightTextColor 198public static Color HotTrackColor 209public static Color InactiveBorderColor 220public static Color InactiveCaptionColor 231public static Color InactiveCaptionTextColor 242public static Color InfoColor 253public static Color InfoTextColor 264public static Color MenuColor 275public static Color MenuBarColor 286public static Color MenuHighlightColor 297public static Color MenuTextColor 308public static Color ScrollBarColor 319public static Color WindowColor 330public static Color WindowFrameColor 341public static Color WindowTextColor 352public static Color AccentColor 363public static Color AccentColorLight1 374public static Color AccentColorLight2 385public static Color AccentColorLight3 396public static Color AccentColorDark1 407public static Color AccentColorDark2 418public static Color AccentColorDark3 2233private static Color GetSystemColor(CacheSlot slot) 2235Color color; 2248color = Color.FromArgb((byte)((argb & 0xff000000) >>24), (byte)((argb & 0x00ff0000) >>16), (byte)((argb & 0x0000ff00) >>8), (byte)(argb & 0x000000ff)); 2259private static Color GetAccentColor(CacheSlot slot) 2261Color color; 2466private static Color[] _colorCache = new Color[(int)CacheSlot.NumSlots];
System\Windows\SystemParameters.cs (2)
5655public static Color WindowGlassColor 5958private static Color _windowGlassColor;
System\Windows\VisualStateManager.cs (2)
452Color? targetColor = GetTargetColor(timeline, isEntering); 590private static Color? GetTargetColor(Timeline timeline, bool isEntering)
PresentationFramework.Aero (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
193ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 196ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 199ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 203ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 206ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 213ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 216ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 219ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 227ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 230ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 233ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 238ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 241ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 251ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 254ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 257ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 274ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 281ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 284ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 288ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 291ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 297ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 300ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 303ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 343ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 346ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 354ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 357ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 360ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 364ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 367ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 373ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 376ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 379ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 387ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 390ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 393ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 397ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 400ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 416ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 419ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 422ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 954temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 977temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1003brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1004brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1005brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1006brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1036brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1037brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1038brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1039brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1068brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1069brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1126SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1146SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1168SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1197temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1198temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1199temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1227temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1228temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1229temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1257temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1258temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1259temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1289temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1290temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1291temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1312SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1332SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1352SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1374temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1396temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1418temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1446brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1447brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1448brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1478brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1479brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1480brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1510brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1511brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1512brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1542brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1543brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1544brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1574brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1575brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1576brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1606brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1607brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1608brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1638brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1639brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1640brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1670brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1671brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1672brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1703brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1704brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1734brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1735brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1765brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1766brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1834temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1835temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1860temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1861temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1887temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1888temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 1915temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 1916temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 1942temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 1943temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 1968temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 1969temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 1994temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 1995temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 0.8));
Microsoft\Windows\Themes\ButtonChrome.cs (23)
116ColorAnimation ca = new ColorAnimation(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF), duration); 306ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 311ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 314ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 317ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 692temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 693temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 694temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 695temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 722temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 723temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 724temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 745SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 808temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 830temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 853temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 929brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 930brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 955temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)); 1021temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1022temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1084temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1085temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
74bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 75bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 76bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 111background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 112background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 113background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 114background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 119background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 120background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 126background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 127background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 128background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 133background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 134background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 187lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 188lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 189lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 190lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 194lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 195lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 196lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 197lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 201lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 202lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 203lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 204lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 208sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 232topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 233topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 234topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 235topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 249pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 250pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 251pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 252pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 285bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 289bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 293bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 360arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 361arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 362arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 375arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 376arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 377arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
509SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 540brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 541brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 542brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xE2, 0xF1), 1)); 575brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3D, 0x7B, 0xAD), 0.05)); 576brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA4, 0xC9, 0xE3), 0.07)); 577brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD9, 0xED), 1)); 602temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (86)
131ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x21, 0x21, 0x21), duration); 133ca = new ColorAnimation(Color.FromRgb(0x57, 0x57, 0x57), duration); 135ca = new ColorAnimation(Color.FromRgb(0xB3, 0xB3, 0xB3), duration); 244ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 247ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 250ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 253ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 256ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 263ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 266ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 269ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 274ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 277ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 280ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 321ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 324ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 327ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 330ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 333ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 340ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 343ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 346ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 352ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 355ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 358ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 811temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 812temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 813temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 814temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 841temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 842temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 843temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 844temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 869temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 870temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 871temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 872temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 898temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 899temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 900temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 901temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 926temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 927temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 928temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 929temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 954temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 955temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 956temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 957temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1078temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1102temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1126temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1276temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1350temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1351temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1352temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1377temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1378temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1379temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1404temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1405temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1406temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1431temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1432temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1433temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1458temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1459temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1460temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1485temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1486temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1487temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1514temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1515temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1516temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1542temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1543temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1544temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1570temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1571temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1572temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1598temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1599temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1600temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1686_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1687_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1688_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Aero2 (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
193ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 196ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 199ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 203ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 206ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 213ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 216ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 219ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 227ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 230ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 233ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 238ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 241ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 251ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 254ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 257ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 274ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 281ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 284ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 288ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 291ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 297ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 300ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 303ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 343ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 346ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 354ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 357ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 360ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 364ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 367ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 373ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 376ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 379ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 387ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 390ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 393ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 397ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 400ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 416ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 419ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 422ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 954temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 977temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1003brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1004brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1005brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1006brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1036brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1037brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1038brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1039brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1068brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1069brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1126SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1146SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1168SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1197temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1198temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1199temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1227temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1228temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1229temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1257temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1258temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1259temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1289temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1290temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1291temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1312SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1332SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1352SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1374temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1396temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1418temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1446brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1447brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1448brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1478brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1479brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1480brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1510brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1511brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1512brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1542brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1543brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1544brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1574brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1575brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1576brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1606brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1607brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1608brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1638brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1639brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1640brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1670brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1671brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1672brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1703brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1704brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1734brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1735brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1765brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1766brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1834temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1835temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1860temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1861temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1887temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1888temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 1915temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 1916temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 1942temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 1943temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 1968temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 1969temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 1994temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 1995temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 0.8));
Microsoft\Windows\Themes\ButtonChrome.cs (23)
116ColorAnimation ca = new ColorAnimation(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF), duration); 306ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 311ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 314ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 317ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 692temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 693temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 694temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 695temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 722temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 723temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 724temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 745SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 808temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 830temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 853temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 929brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 930brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 955temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)); 1021temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1022temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1084temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1085temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
74bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 75bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 76bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 111background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 112background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 113background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 114background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 119background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 120background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 126background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 127background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 128background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 133background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 134background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 187lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 188lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 189lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 190lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 194lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 195lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 196lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 197lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 201lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 202lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 203lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 204lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 208sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 232topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 233topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 234topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 235topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 249pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 250pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 251pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 252pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 285bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 289bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 293bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 360arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 361arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 362arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 375arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 376arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 377arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
509SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 540brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 541brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 542brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xE2, 0xF1), 1)); 575brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3D, 0x7B, 0xAD), 0.05)); 576brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA4, 0xC9, 0xE3), 0.07)); 577brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD9, 0xED), 1)); 602temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (86)
131ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x21, 0x21, 0x21), duration); 133ca = new ColorAnimation(Color.FromRgb(0x57, 0x57, 0x57), duration); 135ca = new ColorAnimation(Color.FromRgb(0xB3, 0xB3, 0xB3), duration); 244ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 247ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 250ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 253ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 256ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 263ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 266ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 269ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 274ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 277ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 280ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 321ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 324ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 327ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 330ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 333ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 340ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 343ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 346ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 352ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 355ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 358ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 811temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 812temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 813temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 814temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 841temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 842temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 843temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 844temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 869temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 870temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 871temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 872temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 898temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 899temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 900temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 901temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 926temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 927temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 928temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 929temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 954temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 955temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 956temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 957temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1078temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1102temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1126temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1276temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1350temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1351temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1352temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1377temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1378temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1379temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1404temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1405temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1406temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1431temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1432temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1433temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1458temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1459temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1460temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1485temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1486temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1487temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1514temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1515temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1516temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1542temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1543temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1544temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1570temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1571temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1572temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1598temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1599temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1600temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1686_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1687_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1688_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.AeroLite (23)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
82background.Color = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 86background.Color = Color.FromArgb(0xFF, 0x85, 0xD2, 0xF5); 90background.Color = Color.FromArgb(0xFF, 0xBC, 0xEC, 0xFC); 129sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1)); 133sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x4F, 0x90, 0xAE)); 137sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3)); 229arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
281SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 301SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 321SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 369temp.Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)); 393temp.Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)); 417temp.Brush = new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94)); 463SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Classic (19)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
178public RgbColor(Color color) 183public Color Color 185get { return Color.FromArgb(this.Alpha, (byte)(this.Red * 255), (byte)(this.Green * 255), (byte)(this.Blue * 255)); } 383private static Color GetControlLightLightColor(Color controlColor) 392private static Color GetControlDarkColor(Color controlColor) 405Color controlColor; 431Color darkColor = GetControlDarkColor(controlColor); 435Color darkDarkColor = new Color();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
17if (value is Color color)
PresentationFramework.Luna (255)
Microsoft\Windows\Themes\ButtonChrome.cs (61)
557SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 581SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 606SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 711brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 712brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 713brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 751brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 752brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 753brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 754brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 782brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD1, 0x8F), 0)); 783brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xCB, 0x80), 0.3)); 784brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xC1, 0x54), 0.97)); 785brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xA7, 0x66), 1)); 813brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 814brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 815brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 816brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 844brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 845brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 846brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 847brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 875brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xC5, 0x95), 0)); 876brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xED, 0xBD, 0x96), 0.03)); 877brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.97)); 878brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCF, 0x72, 0x25), 1)); 907brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 908brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 909brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 910brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 973temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 974temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 999temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1000temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1025temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1026temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1051temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 1052temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 1095temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0x59,0x2F,0x00), 0.5)); 1096temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28,0x59,0x2F,0x00), 1)); 1121temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1122temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1147temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x59, 0x2F, 0x00), 0.5)); 1148temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28, 0x59, 0x2F, 0x00), 1)); 1190temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 1191temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1228temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 1229temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1263SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1284SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1305SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1330temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE6, 0xE6, 0xE0), 0)); 1331temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xE2, 0xDA), 1)); 1356temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEE, 0xE9, 0xD5), 0)); 1357temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE4, 0xCE), 1)); 1382temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1383temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE5, 0xF0), 0.7)); 1384temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC6, 0xC5, 0xD7), 1)); 1409temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB3, 0xB2, 0xC5), 0)); 1410temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xDB, 0xE5), 0.6)); 1411temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.8));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (33)
116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xC2, 0xB8), 0.0)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 0.1)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 1.0)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 133background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.0)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.85)); 139background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE9, 0xD8), 1.0)); 146background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 147background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 148background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 152background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.0)); 153background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.85)); 154background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xC7, 0xB8), 1.0)); 201SolidColorBrush tabStrokeBrush = new SolidColorBrush((themeColor == ThemeColor.Homestead) ? Color.FromArgb(0xFF, 0xCF, 0x72, 0x25) : Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 218tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.0)); 219tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 1.0)); 223tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 224tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 225tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 226tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 244border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 272Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 273Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 352arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (133)
660temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEA, 0xFE), 0)); 661temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.3)); 662temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.6)); 663temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBB, 0xCD, 0xF9), 1)); 688temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 689temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 690temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 715temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 716temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 717temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 742temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFD, 0xFF, 0xFF), 0)); 743temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xF3, 0xFD), 0.25)); 744temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xDA, 0xFB), 1)); 769temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 770temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 771temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 797temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 798temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 799temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 824temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0x8E, 0xF1), 0)); 825temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x80, 0x9D, 0xF1), 0.3)); 826temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAF, 0xBF, 0xED), 0.7)); 827temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD2, 0xDE, 0xEB), 1)); 852temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 853temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 854temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 879temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 880temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 881temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 906temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 907temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 908temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 909temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 934temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 935temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 936temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 937temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 962temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 963temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 964temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 965temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 991temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 992temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 993temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 994temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1019temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1020temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1021temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1022temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1047temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1048temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1049temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1050temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1075temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1076temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1077temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1078temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1079temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1104temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1105temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1106temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1107temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1108temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1135temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1136temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1137temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1138temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1139temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1164temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1165temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1166temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1167temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1168temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1194temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1195temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1196temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1197temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1198temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1199temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1224temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1225temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1226temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1227temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1228temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1229temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1254temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF7, 0xF7), 0)); 1255temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF0, 0xF0, 0xF0), 0.3)); 1256temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xEC), 0.6)); 1257temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE3, 0xE3), 1)); 1380SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1401SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1430SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1451SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1472SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1493SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1514SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1535SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1556SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1577SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1598SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1674SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1695SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1716SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1737SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1758SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1779SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1800SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1821SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1884temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1906temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1928temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1950temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1972temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2029temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2051temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2075temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2097temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2119temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2141temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2163temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2186temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2208temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2230temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2253temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2328brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xCC, 0xCC, 0xBA), 0)); 2329brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCC, 0xCC, 0xBA), 0.5)); 2330brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC4, 0xC4, 0xAF), 1)); 2360brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xA0, 0xB5, 0xD3), 0)); 2361brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA0, 0xB5, 0xD3), 0.5)); 2362brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7C, 0x9F, 0xD3), 1)); 2392brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xB6, 0xC1, 0xA6), 0)); 2393brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9B, 0xB1, 0x81), 0.5)); 2394brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8B, 0x93, 0x77), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
542SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 562SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 587temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 588temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 589temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 611temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 612temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 641SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 705brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 706brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 736brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 737brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 785temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 786temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 813temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 814temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 836SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 862temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 863temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Royale (101)
Microsoft\Windows\Themes\ButtonChrome.cs (28)
472SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9)); 570brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 571brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 572brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 610brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 611brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 612brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 613brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 642brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 643brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 644brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 645brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 695temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 696temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 721temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 722temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 760temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 761temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 798temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 799temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 836temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 837temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 862temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 863temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 911temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 912temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xEB, 0xF3), 0.5)); 913temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD0, 0xDC, 0xEB), 0.5)); 914temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA6, 0xB8, 0xCF), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (20)
70background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 71background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 72background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 76background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 77background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 78background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 82background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 83background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 84background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 130SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 146tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 147tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 148tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 149tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 166border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 194Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 195Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 274arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (25)
618temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 619temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 0.8)); 644temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 645temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 671temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 672temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 1)); 697temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 698temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 1)); 723temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 724temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 749temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 750temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 775temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF7, 0xFF), 0)); 776temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD5, 0xE7, 0xFF), 1)); 829SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 851SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 872SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 893SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 940SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 961SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1005brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEE, 0xFF), 0.5)); 1006brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xC5, 0xDD), 1)); 1030temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1052temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1090temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
542SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 562SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 587temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 588temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 589temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 611temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 612temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 641SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 705brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 706brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 736brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 737brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 785temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 786temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 813temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 814temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 836SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 862temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 863temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
35typeof(Color), 38Color.FromArgb(0x71, 0x00, 0x00, 0x00), 45public Color Color 47get { return (Color)GetValue(ColorProperty); } 102Color color = Color; 291private static GradientStopCollection CreateStops(Color c, double cornerRadius) 300Color stopColor = c; 322private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 427private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
ReachFramework (72)
AlphaFlattener\BrushProxy.cs (41)
1161Color c = scb.Color; 1762private BrushProxy BlendImage(Color color, bool pre) 1785private BrushProxy BlendDrawingBrush(Color color, bool after) 1818private BrushProxy BlendTileBrush(Color color, bool pre) 1837private BrushProxy BlendComplexColor(Color color, bool pre) 1860private Color BlendStopColor(Color color, Color stopColor, bool pre) 1862Color result; 1968private BrushProxy BlendGradient(Color color, bool pre, ColorInterpolationMode interpolationMode) 1997Color color0 = stop0.Color; 1998Color color1 = stop1.Color; 2028Color c = BlendStopColor(color, gs.Color, pre); 2047Color prevColor = Utility.NormalizeColor(prevStop.Color); 2050Color currentColor; 2074Color blend; 2078blend = Color.FromScRgb( 2087blend = Color.FromArgb( 2609Color c = sb.Color; 2626Color c = sb.Color; 2713public static BrushProxy CreateColorBrush(Color color) 2950Color c = gsc[0].Color; 2959if (!Color.AreClose(c, gs.Color)) 3222public static BrushProxy BlendColorWithBrush(bool opacityOnly, Color colorA, BrushProxy brushB, bool reverse) 3393public Color BeforeFill 3407public Color AfterFill 3511s_EmptyBrush = new BrushProxy(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0))); 3537private Color _beforeDrawing = Color.FromArgb(0, 0, 0, 0); 3538private Color _afterDrawing = Color.FromArgb(0, 0, 0, 0); 3653public MyColor(Color c, ColorInterpolationMode ciMode) 3677public Color ToColor(ColorInterpolationMode ciMode) 3681return Color.FromScRgb(m_a, m_r, m_g, m_b); 3685return Color.FromArgb(Utility.OpacityToByte(m_a), Utility.ColorToByte(m_r), Utility.ColorToByte(m_g), Utility.ColorToByte(m_b)); 3774public Color GetInvalidGradientColor() 3779public Color GetColor(int i, int steps) 3785return Color.FromArgb(0, 255, 255, 255); // transparent white 3850return Color.FromArgb(0, 255, 255, 255); 4058public Geometry GetSlice(int i, out Color color) 4285public Geometry GetSlice(int i, out Color color)
AlphaFlattener\DrawingContext.cs (2)
276Color color; 401Color color;
AlphaFlattener\ImageProxy.cs (4)
236public void BlendUnderColor(Color color, double opacity, bool opacityOnly) 242public void BlendOverColor(Color color, double opacity, bool opacityOnly) 331IList<System.Windows.Media.Color> palColor = palette.Colors; 335foreach (Color c in palColor)
AlphaFlattener\Utility.cs (12)
1141static public Color BlendColor(Color x, Color y) 1157return Color.FromArgb(0, 255, 255, 255); // transparent white 1164Color ret = Color.FromArgb((Byte)(d / 255), red, green, blue); 1176public static Color Scale(Color color, double opacity) 1223static public void BlendOverColor(byte[] pixels, int count, Color colorX, double opacity, bool opacityOnly) 1281static public void BlendUnderColor(byte[] pixels, int count, Color colorY, double opacity, bool opacityOnly) 2293public static Color NormalizeColor(Color color)
Serialization\ColorTypeConverter.cs (2)
150Color color = (Color)value;
Serialization\Manager\XpsOMSerializationManager.cs (2)
224else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 256else if (typeof(Color).IsAssignableFrom(serializedObjectType))
Serialization\Manager\XpsSerializationManager.cs (2)
380else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 412else if (typeof(Color).IsAssignableFrom(serializedObjectType))
Serialization\VisualSerializer.cs (3)
319protected string ColorToString(Color color) 323TypeConverter converter = _manager.GetTypeConverter(typeof(Color)); 341Color color = Utility.Scale(solidBrush.Color, solidBrush.Opacity);
Serialization\VisualTreeFlattener.cs (4)
35Color color = (Color)value; 240if (typeof(Color).IsAssignableFrom(objType)) 597Color color = colorBrush.Color;
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (1)
321internal static SD.Color ToSystemDrawingColor(SWM.Color color)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
376SWM.Color brushColor;