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)
36Color c1 = new Color 117Color c1 = new Color(); 139Color c1 = new Color(); 170Color c1 = new Color(); 410Color c1 = new Color { context = color1.context }; 527Color c1 = new Color { context = color1.context };
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2751DefaultConstructor = delegate () { return new System.Windows.Media.Color(); },
System\Windows\Markup\KnownTypes.cs (1)
1161case KnownElements.Color: o = new System.Windows.Media.Color(); break;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
435Color darkDarkColor = new Color
1859 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 (573)
MS\Internal\AnimatedTypeHelpers.cs (17)
25internal static Color InterpolateColor(Color from, Color to, Double progress) 165internal static Color AddColor(Color value1, Color value2) 267internal static Color SubtractColor(Color value1, Color value2) 386internal static Double GetSegmentLengthColor(Color from, Color to) 515internal static Color ScaleColor(Color value, Double factor) 624internal static bool IsValidAnimationValueColor(Color value) 766internal static Color GetZeroValueColor(Color baseValue) 768return Color.FromScRgb(0.0F, 0.0F, 0.0F, 0.0F);
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
779if (!(value is System.Windows.Media.Color)) 781throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(System.Windows.Media.Color)), nameof(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>(); 695private Dictionary<Color, HighlighterContainerVisual> _highlighters = null; 705private Color _highContrastColor = Colors.White;
MS\Internal\Ink\StrokeRenderer.cs (2)
1111internal static Color GetHighlighterColor(Color color)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1745Color color = ((SolidColorBrush)foregroundBrush).Color; 1746foregroundBrush = 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)
354Dictionary<Color, List<Stroke>> highLighters = new Dictionary<Color, List<Stroke>>(); 364Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
47Color color = _drawingAttributes.Color;
System\Windows\InterOp\HwndTarget.cs (3)
110private Color _backgroundColor = Color.FromRgb(0, 0, 0); 2354public Color BackgroundColor
System\Windows\Media\Animation\AnimationStorage.cs (1)
1115else 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)
79return GetCurrentValue((Color)defaultOriginValue, (Color)defaultDestinationValue, animationClock); 91return typeof(Color); 128public Color GetCurrentValue(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 184protected 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) 930Color prevKeyValue = _keyFrames[index - 1].Value; 934Color 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 (56)
19public struct Color : IFormattable, IEquatable<Color> 34private static Color FromProfile(Uri profileUri) 36Color c1 = new Color 65public static Color FromAValues(float a, float[] values, Uri profileUri) 67Color c1 = Color.FromProfile(profileUri); 105public static Color FromValues(float[] values, Uri profileUri) 107Color c1 = Color.FromAValues(1.0f, values, profileUri); 115internal static Color FromUInt32(uint argb)// internal legacy sRGB interface 117Color c1 = new Color(); 137public static Color FromScRgb(float a, float r, float g, float b) 139Color c1 = new Color(); 168public static Color FromArgb(byte a, byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 170Color c1 = new Color(); 190public static Color FromRgb(byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 192Color c1 = Color.FromArgb(0xff, r, g, b); 319public static bool AreClose(Color color1, Color color2) 331private bool IsClose(Color color) 397public static Color operator +(Color color1, Color color2) 401Color c1 = FromScRgb( 410Color c1 = new Color { context = color1.context }; 418Color c2 = Color.FromRgb(0, 0, 0); 497public static Color Add(Color color1, Color color2) 509public static Color operator -(Color color1, Color color2) 513Color c1 = FromScRgb( 527Color c1 = new Color { context = color1.context }; 535Color c2 = Color.FromRgb(0, 0, 0); 614public static Color Subtract(Color color1, Color color2) 625public static Color operator *(Color color, float coefficient) 627Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 646public static Color Multiply(Color color, float coefficient) 654public static bool Equals(Color color1, Color color2) 666public bool Equals(Color color) 680if (o is Color color) 695public static bool operator ==(Color color1, Color color2) 764public static bool operator !=(Color color1, Color color2) 1079Color 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)
824type == typeof(Color) || 878else if (t == typeof(Color)) 880Color 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)
216scp = new SolidColorBrush(Color.FromUInt32(argb)); 859public static Color AliceBlue 863return Color.FromUInt32((uint)KnownColor.AliceBlue); 870public static Color AntiqueWhite 874return Color.FromUInt32((uint)KnownColor.AntiqueWhite); 881public static Color Aqua 885return Color.FromUInt32((uint)KnownColor.Aqua); 892public static Color Aquamarine 896return Color.FromUInt32((uint)KnownColor.Aquamarine); 903public static Color Azure 907return Color.FromUInt32((uint)KnownColor.Azure); 914public static Color Beige 918return Color.FromUInt32((uint)KnownColor.Beige); 925public static Color Bisque 929return Color.FromUInt32((uint)KnownColor.Bisque); 936public static Color Black 940return Color.FromUInt32((uint)KnownColor.Black); 947public static Color BlanchedAlmond 951return Color.FromUInt32((uint)KnownColor.BlanchedAlmond); 958public static Color Blue 962return Color.FromUInt32((uint)KnownColor.Blue); 969public static Color BlueViolet 973return Color.FromUInt32((uint)KnownColor.BlueViolet); 980public static Color Brown 984return Color.FromUInt32((uint)KnownColor.Brown); 991public static Color BurlyWood 995return Color.FromUInt32((uint)KnownColor.BurlyWood); 1002public static Color CadetBlue 1006return Color.FromUInt32((uint)KnownColor.CadetBlue); 1013public static Color Chartreuse 1017return Color.FromUInt32((uint)KnownColor.Chartreuse); 1024public static Color Chocolate 1028return Color.FromUInt32((uint)KnownColor.Chocolate); 1035public static Color Coral 1039return Color.FromUInt32((uint)KnownColor.Coral); 1046public static Color CornflowerBlue 1050return Color.FromUInt32((uint)KnownColor.CornflowerBlue); 1057public static Color Cornsilk 1061return Color.FromUInt32((uint)KnownColor.Cornsilk); 1068public static Color Crimson 1072return Color.FromUInt32((uint)KnownColor.Crimson); 1079public static Color Cyan 1083return Color.FromUInt32((uint)KnownColor.Cyan); 1090public static Color DarkBlue 1094return Color.FromUInt32((uint)KnownColor.DarkBlue); 1101public static Color DarkCyan 1105return Color.FromUInt32((uint)KnownColor.DarkCyan); 1112public static Color DarkGoldenrod 1116return Color.FromUInt32((uint)KnownColor.DarkGoldenrod); 1123public static Color DarkGray 1127return Color.FromUInt32((uint)KnownColor.DarkGray); 1134public static Color DarkGreen 1138return Color.FromUInt32((uint)KnownColor.DarkGreen); 1145public static Color DarkKhaki 1149return Color.FromUInt32((uint)KnownColor.DarkKhaki); 1156public static Color DarkMagenta 1160return Color.FromUInt32((uint)KnownColor.DarkMagenta); 1167public static Color DarkOliveGreen 1171return Color.FromUInt32((uint)KnownColor.DarkOliveGreen); 1178public static Color DarkOrange 1182return Color.FromUInt32((uint)KnownColor.DarkOrange); 1189public static Color DarkOrchid 1193return Color.FromUInt32((uint)KnownColor.DarkOrchid); 1200public static Color DarkRed 1204return Color.FromUInt32((uint)KnownColor.DarkRed); 1211public static Color DarkSalmon 1215return Color.FromUInt32((uint)KnownColor.DarkSalmon); 1222public static Color DarkSeaGreen 1226return Color.FromUInt32((uint)KnownColor.DarkSeaGreen); 1233public static Color DarkSlateBlue 1237return Color.FromUInt32((uint)KnownColor.DarkSlateBlue); 1244public static Color DarkSlateGray 1248return Color.FromUInt32((uint)KnownColor.DarkSlateGray); 1255public static Color DarkTurquoise 1259return Color.FromUInt32((uint)KnownColor.DarkTurquoise); 1266public static Color DarkViolet 1270return Color.FromUInt32((uint)KnownColor.DarkViolet); 1277public static Color DeepPink 1281return Color.FromUInt32((uint)KnownColor.DeepPink); 1288public static Color DeepSkyBlue 1292return Color.FromUInt32((uint)KnownColor.DeepSkyBlue); 1299public static Color DimGray 1303return Color.FromUInt32((uint)KnownColor.DimGray); 1310public static Color DodgerBlue 1314return Color.FromUInt32((uint)KnownColor.DodgerBlue); 1321public static Color Firebrick 1325return Color.FromUInt32((uint)KnownColor.Firebrick); 1332public static Color FloralWhite 1336return Color.FromUInt32((uint)KnownColor.FloralWhite); 1343public static Color ForestGreen 1347return Color.FromUInt32((uint)KnownColor.ForestGreen); 1354public static Color Fuchsia 1358return Color.FromUInt32((uint)KnownColor.Fuchsia); 1365public static Color Gainsboro 1369return Color.FromUInt32((uint)KnownColor.Gainsboro); 1376public static Color GhostWhite 1380return Color.FromUInt32((uint)KnownColor.GhostWhite); 1387public static Color Gold 1391return Color.FromUInt32((uint)KnownColor.Gold); 1398public static Color Goldenrod 1402return Color.FromUInt32((uint)KnownColor.Goldenrod); 1409public static Color Gray 1413return Color.FromUInt32((uint)KnownColor.Gray); 1420public static Color Green 1424return Color.FromUInt32((uint)KnownColor.Green); 1431public static Color GreenYellow 1435return Color.FromUInt32((uint)KnownColor.GreenYellow); 1442public static Color Honeydew 1446return Color.FromUInt32((uint)KnownColor.Honeydew); 1453public static Color HotPink 1457return Color.FromUInt32((uint)KnownColor.HotPink); 1464public static Color IndianRed 1468return Color.FromUInt32((uint)KnownColor.IndianRed); 1475public static Color Indigo 1479return Color.FromUInt32((uint)KnownColor.Indigo); 1486public static Color Ivory 1490return Color.FromUInt32((uint)KnownColor.Ivory); 1497public static Color Khaki 1501return Color.FromUInt32((uint)KnownColor.Khaki); 1508public static Color Lavender 1512return Color.FromUInt32((uint)KnownColor.Lavender); 1519public static Color LavenderBlush 1523return Color.FromUInt32((uint)KnownColor.LavenderBlush); 1530public static Color LawnGreen 1534return Color.FromUInt32((uint)KnownColor.LawnGreen); 1541public static Color LemonChiffon 1545return Color.FromUInt32((uint)KnownColor.LemonChiffon); 1552public static Color LightBlue 1556return Color.FromUInt32((uint)KnownColor.LightBlue); 1563public static Color LightCoral 1567return Color.FromUInt32((uint)KnownColor.LightCoral); 1574public static Color LightCyan 1578return Color.FromUInt32((uint)KnownColor.LightCyan); 1585public static Color LightGoldenrodYellow 1589return Color.FromUInt32((uint)KnownColor.LightGoldenrodYellow); 1596public static Color LightGray 1600return Color.FromUInt32((uint)KnownColor.LightGray); 1607public static Color LightGreen 1611return Color.FromUInt32((uint)KnownColor.LightGreen); 1618public static Color LightPink 1622return Color.FromUInt32((uint)KnownColor.LightPink); 1629public static Color LightSalmon 1633return Color.FromUInt32((uint)KnownColor.LightSalmon); 1640public static Color LightSeaGreen 1644return Color.FromUInt32((uint)KnownColor.LightSeaGreen); 1651public static Color LightSkyBlue 1655return Color.FromUInt32((uint)KnownColor.LightSkyBlue); 1662public static Color LightSlateGray 1666return Color.FromUInt32((uint)KnownColor.LightSlateGray); 1673public static Color LightSteelBlue 1677return Color.FromUInt32((uint)KnownColor.LightSteelBlue); 1684public static Color LightYellow 1688return Color.FromUInt32((uint)KnownColor.LightYellow); 1695public static Color Lime 1699return Color.FromUInt32((uint)KnownColor.Lime); 1706public static Color LimeGreen 1710return Color.FromUInt32((uint)KnownColor.LimeGreen); 1717public static Color Linen 1721return Color.FromUInt32((uint)KnownColor.Linen); 1728public static Color Magenta 1732return Color.FromUInt32((uint)KnownColor.Magenta); 1739public static Color Maroon 1743return Color.FromUInt32((uint)KnownColor.Maroon); 1750public static Color MediumAquamarine 1754return Color.FromUInt32((uint)KnownColor.MediumAquamarine); 1761public static Color MediumBlue 1765return Color.FromUInt32((uint)KnownColor.MediumBlue); 1772public static Color MediumOrchid 1776return Color.FromUInt32((uint)KnownColor.MediumOrchid); 1783public static Color MediumPurple 1787return Color.FromUInt32((uint)KnownColor.MediumPurple); 1794public static Color MediumSeaGreen 1798return Color.FromUInt32((uint)KnownColor.MediumSeaGreen); 1805public static Color MediumSlateBlue 1809return Color.FromUInt32((uint)KnownColor.MediumSlateBlue); 1816public static Color MediumSpringGreen 1820return Color.FromUInt32((uint)KnownColor.MediumSpringGreen); 1827public static Color MediumTurquoise 1831return Color.FromUInt32((uint)KnownColor.MediumTurquoise); 1838public static Color MediumVioletRed 1842return Color.FromUInt32((uint)KnownColor.MediumVioletRed); 1849public static Color MidnightBlue 1853return Color.FromUInt32((uint)KnownColor.MidnightBlue); 1860public static Color MintCream 1864return Color.FromUInt32((uint)KnownColor.MintCream); 1871public static Color MistyRose 1875return Color.FromUInt32((uint)KnownColor.MistyRose); 1882public static Color Moccasin 1886return Color.FromUInt32((uint)KnownColor.Moccasin); 1893public static Color NavajoWhite 1897return Color.FromUInt32((uint)KnownColor.NavajoWhite); 1904public static Color Navy 1908return Color.FromUInt32((uint)KnownColor.Navy); 1915public static Color OldLace 1919return Color.FromUInt32((uint)KnownColor.OldLace); 1926public static Color Olive 1930return Color.FromUInt32((uint)KnownColor.Olive); 1937public static Color OliveDrab 1941return Color.FromUInt32((uint)KnownColor.OliveDrab); 1948public static Color Orange 1952return Color.FromUInt32((uint)KnownColor.Orange); 1959public static Color OrangeRed 1963return Color.FromUInt32((uint)KnownColor.OrangeRed); 1970public static Color Orchid 1974return Color.FromUInt32((uint)KnownColor.Orchid); 1981public static Color PaleGoldenrod 1985return Color.FromUInt32((uint)KnownColor.PaleGoldenrod); 1992public static Color PaleGreen 1996return Color.FromUInt32((uint)KnownColor.PaleGreen); 2003public static Color PaleTurquoise 2007return Color.FromUInt32((uint)KnownColor.PaleTurquoise); 2014public static Color PaleVioletRed 2018return Color.FromUInt32((uint)KnownColor.PaleVioletRed); 2025public static Color PapayaWhip 2029return Color.FromUInt32((uint)KnownColor.PapayaWhip); 2036public static Color PeachPuff 2040return Color.FromUInt32((uint)KnownColor.PeachPuff); 2047public static Color Peru 2051return Color.FromUInt32((uint)KnownColor.Peru); 2058public static Color Pink 2062return Color.FromUInt32((uint)KnownColor.Pink); 2069public static Color Plum 2073return Color.FromUInt32((uint)KnownColor.Plum); 2080public static Color PowderBlue 2084return Color.FromUInt32((uint)KnownColor.PowderBlue); 2091public static Color Purple 2095return Color.FromUInt32((uint)KnownColor.Purple); 2102public static Color Red 2106return Color.FromUInt32((uint)KnownColor.Red); 2113public static Color RosyBrown 2117return Color.FromUInt32((uint)KnownColor.RosyBrown); 2124public static Color RoyalBlue 2128return Color.FromUInt32((uint)KnownColor.RoyalBlue); 2135public static Color SaddleBrown 2139return Color.FromUInt32((uint)KnownColor.SaddleBrown); 2146public static Color Salmon 2150return Color.FromUInt32((uint)KnownColor.Salmon); 2157public static Color SandyBrown 2161return Color.FromUInt32((uint)KnownColor.SandyBrown); 2168public static Color SeaGreen 2172return Color.FromUInt32((uint)KnownColor.SeaGreen); 2179public static Color SeaShell 2183return Color.FromUInt32((uint)KnownColor.SeaShell); 2190public static Color Sienna 2194return Color.FromUInt32((uint)KnownColor.Sienna); 2201public static Color Silver 2205return Color.FromUInt32((uint)KnownColor.Silver); 2212public static Color SkyBlue 2216return Color.FromUInt32((uint)KnownColor.SkyBlue); 2223public static Color SlateBlue 2227return Color.FromUInt32((uint)KnownColor.SlateBlue); 2234public static Color SlateGray 2238return Color.FromUInt32((uint)KnownColor.SlateGray); 2245public static Color Snow 2249return Color.FromUInt32((uint)KnownColor.Snow); 2256public static Color SpringGreen 2260return Color.FromUInt32((uint)KnownColor.SpringGreen); 2267public static Color SteelBlue 2271return Color.FromUInt32((uint)KnownColor.SteelBlue); 2278public static Color Tan 2282return Color.FromUInt32((uint)KnownColor.Tan); 2289public static Color Teal 2293return Color.FromUInt32((uint)KnownColor.Teal); 2300public static Color Thistle 2304return Color.FromUInt32((uint)KnownColor.Thistle); 2311public static Color Tomato 2315return Color.FromUInt32((uint)KnownColor.Tomato); 2322public static Color Transparent 2326return Color.FromUInt32((uint)KnownColor.Transparent); 2333public static Color Turquoise 2337return Color.FromUInt32((uint)KnownColor.Turquoise); 2344public static Color Violet 2348return Color.FromUInt32((uint)KnownColor.Violet); 2355public static Color Wheat 2359return Color.FromUInt32((uint)KnownColor.Wheat); 2366public static Color White 2370return Color.FromUInt32((uint)KnownColor.White); 2377public static Color WhiteSmoke 2381return Color.FromUInt32((uint)KnownColor.WhiteSmoke); 2388public static Color Yellow 2392return Color.FromUInt32((uint)KnownColor.Yellow); 2399public static Color YellowGreen 2403return 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)
1135internal static Color DefaultAnchorBackground = (Color)ColorConverter.ConvertFromString("#3380FF80"); 1136internal static Color DefaultMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000"); 1137internal static Color DefaultActiveAnchorBackground = (Color)ColorConverter.ConvertFromString("#3300FF00"); 1138internal 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)
496context.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)
439Color.FromRgb(240, 242, 255), // Start Color 440Color.FromRgb(180, 207, 248), // End Color 445SolidColorBrush 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)
924Nullable<Color> color = null; 940color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B); 963private static Annotation ProcessHighlights(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color, bool create) 1015private static Annotation CreateHighlight(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1160border.SetValue(Border.BackgroundProperty, new SolidColorBrush(Color.FromUInt32(0xFF000080)));
System\Windows\Controls\InkCanvas.cs (1)
2957internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\InkPresenter.cs (1)
387internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\ProgressBar.cs (1)
188Color 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)
506Color lineColor = _textServicesDisplayAttribute.GetLineColor(start); 676internal CompositionLine(Rect startRect, Rect endRect, Color lineColor) 740internal Color LineColor 765private 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, 3818_color = Color.FromArgb(0xff, 0, 0, 0); 3832internal Color Color 3860_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3868_color = Color.FromArgb(0xff, _color.R, value, _color.B); 3876_color = Color.FromArgb(0xff, _color.R, _color.G, value); 3890private Color _color; 3925internal Color ColorAt(int index) 3933return Color.FromArgb(0xff, 0, 0, 0); 3945int i = AddColor(Color.FromArgb(0xff, 0, 0, 0)); 3952internal int AddColor(Color color) 5146Color cToUse = Color.FromArgb(0xff, 0, 0, 0); 5205Color cToUse = Color.FromArgb(0xff, 0, 0, 0);
System\windows\Documents\TextSelection.cs (2)
1603Color backgroundColor; 1645caretBrush = 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)
2748typeof(System.Windows.Media.Color),
System\Windows\Markup\KnownTypes.cs (1)
5629case 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)
5641public static Color WindowGlassColor 5939private 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)
197ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 200ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 203ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 207ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 210ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 217ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 220ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 223ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 231ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 234ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 237ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 242ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 245ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 255ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 258ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 261ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 278ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 285ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 288ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 292ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 295ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 301ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 304ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 307ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 347ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 350ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 358ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 361ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 364ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 368ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 371ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 377ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 380ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 383ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 391ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 394ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 397ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 401ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 404ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 420ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 423ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 426ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 977Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)) 1002Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)) 1033brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1034brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1035brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1036brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1070brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1071brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1072brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1073brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1106brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1107brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1238temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1239temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1240temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1269temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1270temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1271temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1300temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1301temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1302temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1333temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1334temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1335temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1419Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1443Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 1467Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 1499brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1500brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1501brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1534brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1535brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1536brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1569brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1570brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1571brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1604brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1605brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1606brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1639brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1640brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1641brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1674brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1675brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1676brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1711brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1744brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1745brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1746brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1780brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1781brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1814brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1815brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1848brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1849brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1919temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1920temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1947temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1948temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1976temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1977temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 2006temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 2007temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 2035temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 2036temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 2063temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 2064temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 2091temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 2092temp.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); 312ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 317ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 320ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 323ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 703temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 704temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 705temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 706temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 735temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 736temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 737temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 822Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 846Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 871Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 951brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 952brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 978Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)) 1047temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1048temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1112temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1113temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
76bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 78bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 79bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 115background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 129background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 130background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 139background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 193lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 194lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 195lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 196lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 200lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 201lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 202lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 203lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 207lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 208lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 209lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 210lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 214sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 240topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 241topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 242topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 243topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 259pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 260pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 261pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 262pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 295bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 299bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 303bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 372arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 373arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 374arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 389arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 390arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 391arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 544brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 545brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 546brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xE2, 0xF1), 1)); 581brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3D, 0x7B, 0xAD), 0.05)); 582brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA4, 0xC9, 0xE3), 0.07)); 583brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD9, 0xED), 1)); 609Brush = 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); 252ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 255ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 258ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 261ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 264ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 271ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 274ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 277ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 282ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 285ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 288ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 329ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 332ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 335ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 338ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 341ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 348ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 351ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 354ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 360ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 363ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 366ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 831temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 832temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 833temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 834temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 863temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 864temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 865temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 893temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 894temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 895temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 896temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 924temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 925temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 926temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 927temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 954temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 955temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 956temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 957temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 984temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 985temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 986temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 987temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1109Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)) 1135Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1161Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)) 1317Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)) 1396temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1397temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1398temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1425temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1426temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1427temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1454temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1455temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1456temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1483temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1484temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1485temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1512temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1513temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1514temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1541temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1542temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1543temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1572temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1573temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1574temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1602temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1603temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1604temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1632temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1633temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1634temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1662temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1663temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1664temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1752_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1753_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1754_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) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Aero2 (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
197ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 200ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 203ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 207ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 210ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 217ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 220ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 223ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 231ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 234ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 237ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 242ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 245ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 255ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 258ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 261ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 278ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 285ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 288ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 292ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 295ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 301ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 304ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 307ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 347ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 350ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 358ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 361ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 364ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 368ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 371ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 377ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 380ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 383ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 391ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 394ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 397ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 401ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 404ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 420ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 423ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 426ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 977Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)) 1002Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)) 1033brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1034brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1035brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1036brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1070brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1071brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1072brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1073brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1106brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1107brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1238temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1239temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1240temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1269temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1270temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1271temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1300temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1301temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1302temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1333temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1334temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1335temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1419Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1443Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 1467Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 1499brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1500brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1501brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1534brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1535brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1536brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1569brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1570brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1571brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1604brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1605brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1606brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1639brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1640brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1641brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1674brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1675brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1676brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1711brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1744brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1745brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1746brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1780brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1781brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1814brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1815brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1848brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1849brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1919temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1920temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1947temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1948temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1976temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1977temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 2006temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 2007temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 2035temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 2036temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 2063temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 2064temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 2091temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 2092temp.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); 312ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 317ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 320ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 323ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 703temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 704temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 705temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 706temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 735temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 736temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 737temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 822Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 846Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 871Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 951brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 952brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 978Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)) 1047temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1048temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1112temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1113temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
76bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 78bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 79bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 115background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 129background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 130background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 139background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 193lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 194lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 195lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 196lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 200lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 201lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 202lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 203lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 207lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 208lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 209lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 210lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 214sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 240topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 241topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 242topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 243topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 259pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 260pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 261pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 262pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 295bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 299bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 303bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 372arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 373arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 374arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 389arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 390arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 391arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 544brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 545brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 546brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xE2, 0xF1), 1)); 581brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3D, 0x7B, 0xAD), 0.05)); 582brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA4, 0xC9, 0xE3), 0.07)); 583brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD9, 0xED), 1)); 609Brush = 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); 252ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 255ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 258ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 261ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 264ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 271ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 274ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 277ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 282ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 285ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 288ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 329ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 332ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 335ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 338ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 341ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 348ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 351ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 354ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 360ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 363ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 366ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 831temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 832temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 833temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 834temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 863temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 864temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 865temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 893temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 894temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 895temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 896temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 924temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 925temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 926temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 927temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 954temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 955temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 956temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 957temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 984temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 985temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 986temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 987temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1109Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)) 1135Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1161Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)) 1317Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)) 1396temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1397temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1398temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1425temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1426temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1427temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1454temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1455temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1456temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1483temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1484temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1485temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1512temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1513temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1514temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1541temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1542temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1543temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1572temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1573temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1574temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1602temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1603temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1604temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1632temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1633temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1634temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1662temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1663temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1664temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1752_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1753_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1754_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) 435private 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)); 370Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)) 396Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)) 422Brush = new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94)) 469SolidColorBrush 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) 435private 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) 435private 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)
555SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 579SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 604SolidColorBrush 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)); 753brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 754brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 755brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 756brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 786brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD1, 0x8F), 0)); 787brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xCB, 0x80), 0.3)); 788brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xC1, 0x54), 0.97)); 789brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xA7, 0x66), 1)); 819brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 820brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 821brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 822brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 852brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 853brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 854brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 855brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 885brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xC5, 0x95), 0)); 886brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xED, 0xBD, 0x96), 0.03)); 887brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.97)); 888brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCF, 0x72, 0x25), 1)); 919brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 920brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 921brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 922brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 987temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 988temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 1015temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1016temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1043temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1044temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1071temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 1072temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 1117temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0x59,0x2F,0x00), 0.5)); 1118temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28,0x59,0x2F,0x00), 1)); 1145temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1146temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1173temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x59, 0x2F, 0x00), 0.5)); 1174temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28, 0x59, 0x2F, 0x00), 1)); 1218temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 1219temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1258temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 1259temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1293SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1314SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1335SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1362temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE6, 0xE6, 0xE0), 0)); 1363temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xE2, 0xDA), 1)); 1390temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEE, 0xE9, 0xD5), 0)); 1391temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE4, 0xCE), 1)); 1418temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1419temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE5, 0xF0), 0.7)); 1420temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC6, 0xC5, 0xD7), 1)); 1447temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB3, 0xB2, 0xC5), 0)); 1448temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xDB, 0xE5), 0.6)); 1449temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.8));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (33)
118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 119background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 120background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xC2, 0xB8), 0.0)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 0.1)); 126background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 1.0)); 133background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 134background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 139background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.0)); 140background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.85)); 141background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE9, 0xD8), 1.0)); 148background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 149background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 150background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 154background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.0)); 155background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.85)); 156background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xC7, 0xB8), 1.0)); 204SolidColorBrush tabStrokeBrush = new SolidColorBrush((themeColor == ThemeColor.Homestead) ? Color.FromArgb(0xFF, 0xCF, 0x72, 0x25) : Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 223tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.0)); 224tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 1.0)); 228tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 229tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 230tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 231tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 249border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 279Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 280Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 359arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (133)
672temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEA, 0xFE), 0)); 673temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.3)); 674temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.6)); 675temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBB, 0xCD, 0xF9), 1)); 702temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 703temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 704temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 731temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 732temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 733temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 760temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFD, 0xFF, 0xFF), 0)); 761temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xF3, 0xFD), 0.25)); 762temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xDA, 0xFB), 1)); 789temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 790temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 791temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 819temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 820temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 821temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 848temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0x8E, 0xF1), 0)); 849temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x80, 0x9D, 0xF1), 0.3)); 850temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAF, 0xBF, 0xED), 0.7)); 851temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD2, 0xDE, 0xEB), 1)); 878temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 879temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 880temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 907temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 908temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 909temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 936temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 937temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 938temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 939temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 966temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 967temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 968temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 969temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 996temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 997temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 998temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 999temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1027temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 1028temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 1029temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 1030temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1057temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1058temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1059temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1060temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1087temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1088temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1089temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1090temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1117temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1118temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1119temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1120temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1121temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1148temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1149temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1150temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1151temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1152temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1181temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1182temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1183temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1184temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1185temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1212temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1213temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1214temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1215temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1216temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1244temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1245temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1246temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1247temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1248temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1249temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1276temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1277temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1278temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1279temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1280temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1281temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1308temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF7, 0xF7), 0)); 1309temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF0, 0xF0, 0xF0), 0.3)); 1310temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xEC), 0.6)); 1311temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE3, 0xE3), 1)); 1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1484SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1505SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1526SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1547SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1568SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1589SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1610SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1631SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1652SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1728SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1749SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1770SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1791SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1812SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1854SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1939Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 1963Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 1987Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)) 2011Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)) 2035Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)) 2094Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)) 2118Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)) 2144Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)) 2168Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)) 2192Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)) 2216Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)) 2240Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)) 2265Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)) 2289Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 2313Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 2338Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 2416brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xCC, 0xCC, 0xBA), 0)); 2417brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCC, 0xCC, 0xBA), 0.5)); 2418brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC4, 0xC4, 0xAF), 1)); 2450brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xA0, 0xB5, 0xD3), 0)); 2451brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA0, 0xB5, 0xD3), 0.5)); 2452brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7C, 0x9F, 0xD3), 1)); 2484brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xB6, 0xC1, 0xA6), 0)); 2485brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9B, 0xB1, 0x81), 0.5)); 2486brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8B, 0x93, 0x77), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 590temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 591temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 592temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 614temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 615temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 713brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 714brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 747brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 748brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 798temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 799temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 828temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 829temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 879temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 880temp.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) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Royale (101)
Microsoft\Windows\Themes\ButtonChrome.cs (28)
470SolidColorBrush 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)); 612brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 613brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 614brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 615brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 646brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 647brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 648brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 649brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 701temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 702temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 729temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 730temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 770temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 771temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 810temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 811temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 850temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 851temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 878temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 879temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 929temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 930temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xEB, 0xF3), 0.5)); 931temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD0, 0xDC, 0xEB), 0.5)); 932temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA6, 0xB8, 0xCF), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (20)
72background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 73background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 74background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 78background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 79background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 80background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 84background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 85background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 86background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 133SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 151tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 152tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 153tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 154tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 171border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 201Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 202Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 281arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (25)
630temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 631temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 0.8)); 658temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 659temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 687temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 688temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 1)); 715temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 716temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 1)); 743temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 744temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 771temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 772temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 799temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF7, 0xFF), 0)); 800temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD5, 0xE7, 0xFF), 1)); 853SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 896SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 917SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 964SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 985SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1031brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEE, 0xFF), 0.5)); 1032brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xC5, 0xDD), 1)); 1057Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)) 1081Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)) 1121Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 590temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 591temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 592temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 614temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 615temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 713brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 714brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 747brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 748brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 798temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 799temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 828temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 829temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 879temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 880temp.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) 435private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
ReachFramework (72)
AlphaFlattener\BrushProxy.cs (41)
1159Color c = scb.Color; 1761private BrushProxy BlendImage(Color color, bool pre) 1784private BrushProxy BlendDrawingBrush(Color color, bool after) 1817private BrushProxy BlendTileBrush(Color color, bool pre) 1836private BrushProxy BlendComplexColor(Color color, bool pre) 1859private Color BlendStopColor(Color color, Color stopColor, bool pre) 1861Color result; 1967private BrushProxy BlendGradient(Color color, bool pre, ColorInterpolationMode interpolationMode) 1996Color color0 = stop0.Color; 1997Color color1 = stop1.Color; 2027Color c = BlendStopColor(color, gs.Color, pre); 2046Color prevColor = Utility.NormalizeColor(prevStop.Color); 2049Color currentColor; 2073Color blend; 2077blend = Color.FromScRgb( 2086blend = 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)) 3225public static BrushProxy BlendColorWithBrush(bool opacityOnly, Color colorA, BrushProxy brushB, bool reverse) 3395public Color BeforeFill 3409public Color AfterFill 3513s_EmptyBrush = new BrushProxy(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0))); 3539private Color _beforeDrawing = Color.FromArgb(0, 0, 0, 0); 3540private Color _afterDrawing = Color.FromArgb(0, 0, 0, 0); 3655public MyColor(Color c, ColorInterpolationMode ciMode) 3679public Color ToColor(ColorInterpolationMode ciMode) 3683return Color.FromScRgb(m_a, m_r, m_g, m_b); 3687return Color.FromArgb(Utility.OpacityToByte(m_a), Utility.ColorToByte(m_r), Utility.ColorToByte(m_g), Utility.ColorToByte(m_b)); 3776public Color GetInvalidGradientColor() 3781public Color GetColor(int i, int steps) 3787return Color.FromArgb(0, 255, 255, 255); // transparent white 3852return Color.FromArgb(0, 255, 255, 255); 4060public Geometry GetSlice(int i, out Color color) 4287public Geometry GetSlice(int i, out Color color)
AlphaFlattener\DrawingContext.cs (2)
278Color color; 403Color 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) 2294public static Color NormalizeColor(Color color)
Serialization\ColorTypeConverter.cs (2)
150Color color = (Color)value;
Serialization\Manager\XpsOMSerializationManager.cs (2)
218else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 250else if (typeof(Color).IsAssignableFrom(serializedObjectType))
Serialization\Manager\XpsSerializationManager.cs (2)
373else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 405else 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)
322internal static SD.Color ToSystemDrawingColor(SWM.Color color)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
376SWM.Color brushColor;