13 instantiations of Color
PresentationCore (10)
System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
233Color from = new Color(); 234Color to = new Color(); 235Color accumulated = new Color(); 236Color foundation = new Color();
System\Windows\Media\Color.cs (6)
46Color c1 = new Color(); 126Color c1 = new Color(); 148Color c1 = new Color(); 179Color c1 = new Color(); 419Color c1 = new Color(); 538Color c1 = new Color();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2632bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Color(); };
System\Windows\Markup\KnownTypes.cs (1)
1167case KnownElements.Color: o = new System.Windows.Media.Color(); break;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
438Color darkDarkColor = new Color();
1800 references to Color
PresentationCore (575)
MS\Internal\AnimatedTypeHelpers.cs (17)
26internal 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) 623internal static bool IsValidAnimationValueColor(Color value) 765internal static Color GetZeroValueColor(Color baseValue) 767return Color.FromScRgb(0.0F, 0.0F, 0.0F, 0.0F);
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
795if (!(value is System.Windows.Media.Color)) 797throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(System.Windows.Media.Color)), "value");
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (5)
277Color color = Color.FromRgb((byte)(dw & 0xff), (byte)((dw & 0xff00) >> Native.BitsPerByte), (byte)((dw & 0xff0000) >> (Native.BitsPerByte * 2))); 419Color color = da.Color; 508Color daColor = da.Color; 509System.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)
130internal Color CachedColor 138private Color _cachedColor; 147internal HighlighterContainerVisual(Color color) 155internal Color Color 159private Color _color; 385internal void TurnHighContrastOn(Color strokeColor) 420public Color GetHighContrastColor() 662Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.Color); 667_highlighters = new Dictionary<Color, HighlighterContainerVisual>(); 702private Dictionary<Color, HighlighterContainerVisual> _highlighters = null; 712private Color _highContrastColor = Colors.White;
MS\Internal\Ink\StrokeRenderer.cs (2)
1116internal static Color GetHighlighterColor(Color color)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1756Color color = ((SolidColorBrush)foregroundBrush).Color; 1757foregroundBrush = new SolidColorBrush(Color.FromArgb(
MS\Internal\WindowsRuntime\Windows\UI\ViewManagement\UISettings.cs (14)
21private static readonly Color _fallbackAccentColor = Color.FromArgb(0xff, 0x00, 0x78, 0xd4); 23private Color _accentColor, _accentLight1, _accentLight2, _accentLight3; 24private Color _accentDark1, _accentDark2, _accentDark3; 56internal bool TryGetColorValue(UISettingsRCW.UIColorType desiredColor, out Color color) 63color = Color.FromArgb(uiColor.A, uiColor.R, uiColor.G, uiColor.B); 90if(TryGetColorValue(UISettingsRCW.UIColorType.Accent, out Color systemAccent)) 136internal Color AccentColor => _useFallbackColor ? _fallbackAccentColor : _accentColor; 137internal Color AccentLight1 => _useFallbackColor ? _fallbackAccentColor : _accentLight1; 138internal Color AccentLight2 => _useFallbackColor ? _fallbackAccentColor : _accentLight2; 139internal Color AccentLight3 => _useFallbackColor ? _fallbackAccentColor : _accentLight3; 140internal Color AccentDark1 => _useFallbackColor ? _fallbackAccentColor : _accentDark1; 141internal Color AccentDark2 => _useFallbackColor ? _fallbackAccentColor : _accentDark2; 142internal Color AccentDark3 => _useFallbackColor ? _fallbackAccentColor : _accentDark3;
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
2334Color color, 2403Color colorKey,
System\Windows\Ink\DrawingAttributes.cs (3)
75public Color Color 82Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 85return (Color)GetExtendedPropertyBackedProperty(KnownIds.Color);
System\Windows\Ink\StrokeCollection2.cs (3)
376Dictionary<Color, List<Stroke>> highLighters = new Dictionary<Color, List<Stroke>>(); 386Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
61Color color = _drawingAttributes.Color;
System\Windows\InterOp\HwndTarget.cs (3)
125private Color _backgroundColor = Color.FromRgb(0, 0, 0); 2363public Color BackgroundColor
System\Windows\Media\Animation\AnimationStorage.cs (1)
1126else if (type == typeof(Color))
System\Windows\Media\Animation\Generated\ColorAnimation.cs (32)
43private Color[] _keyValues; 58Type typeofProp = typeof(Color?); 67new PropertyMetadata((Color?)null, propCallback), 74new PropertyMetadata((Color?)null, propCallback), 81new PropertyMetadata((Color?)null, propCallback), 105public ColorAnimation(Color toValue, Duration duration) 117public ColorAnimation(Color toValue, Duration duration, FillBehavior fillBehavior) 130public ColorAnimation(Color fromValue, Color toValue, Duration duration) 143public ColorAnimation(Color fromValue, Color toValue, Duration duration, FillBehavior fillBehavior) 216protected override Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 233Color from = new Color(); 234Color to = new Color(); 235Color accumulated = new Color(); 236Color foundation = new Color(); 350Color accumulator = AnimatedTypeHelpers.SubtractColor(to, from); 375_keyValues = new Color[2]; 382_keyValues = new Color[2]; 389_keyValues = new Color[1]; 396_keyValues = new Color[1]; 402_keyValues = new Color[1]; 423Color? typedValue = (Color?)value; 443public Color? From 447return (Color?)GetValue(FromProperty); 463public Color? To 467return (Color?)GetValue(ToProperty); 483public Color? By 487return (Color?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (9)
95return GetCurrentValue((Color)defaultOriginValue, (Color)defaultDestinationValue, animationClock); 107return typeof(Color); 144public Color GetCurrentValue(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 204protected abstract Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (8)
323protected sealed override Color GetCurrentValueCore( 324Color defaultOriginValue, 325Color defaultDestinationValue, 351Color currentIterationValue; 387Color fromValue; 632private Color GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 943Color prevKeyValue = _keyFrames[index - 1].Value; 947Color currentKeyValue = _keyFrames[index].Value;
System\Windows\Media\Animation\Generated\ColorIndependentAnimationStorage.cs (2)
54Color tempValue = (Color)dobj.GetValue(_dependencyProperty);
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
277public DiscreteColorKeyFrame(Color value) 285public DiscreteColorKeyFrame(Color value, KeyTime keyTime) 313protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
173public EasingColorKeyFrame(Color value) 182public EasingColorKeyFrame(Color value, KeyTime keyTime) 192public EasingColorKeyFrame(Color value, KeyTime keyTime, IEasingFunction easingFunction) 221protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
468protected ColorKeyFrame(Color value) 477protected ColorKeyFrame(Color value, KeyTime keyTime) 520typeof(Color), 535Value = (Color)value; 542public Color Value 546return (Color)GetValue(ValueProperty); 563public Color InterpolateValue( 564Color baseValue, 581protected abstract Color InterpolateValueCore( 582Color baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
125public LinearColorKeyFrame(Color value) 133public LinearColorKeyFrame(Color value, KeyTime keyTime) 159protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
175public SplineColorKeyFrame(Color value) 184public SplineColorKeyFrame(Color value, KeyTime keyTime) 194public SplineColorKeyFrame(Color value, KeyTime keyTime, KeySpline keySpline) 225protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
System\Windows\Media\Color.cs (58)
29public struct Color : IFormattable, IEquatable<Color> 44private static Color FromProfile(Uri profileUri) 46Color c1 = new Color(); 74public static Color FromAValues(float a, float[] values, Uri profileUri) 76Color c1 = Color.FromProfile(profileUri); 114public static Color FromValues(float[] values, Uri profileUri) 116Color c1 = Color.FromAValues(1.0f, values, profileUri); 124internal static Color FromUInt32(uint argb)// internal legacy sRGB interface 126Color c1 = new Color(); 146public static Color FromScRgb(float a, float r, float g, float b) 148Color c1 = new Color(); 177public static Color FromArgb(byte a, byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 179Color c1 = new Color(); 199public static Color FromRgb(byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 201Color c1 = Color.FromArgb(0xff, r, g, b); 328public static bool AreClose(Color color1, Color color2) 340private bool IsClose(Color color) 406public static Color operator +(Color color1, Color color2) 410Color c1 = FromScRgb( 419Color c1 = new Color(); 429Color c2 = Color.FromRgb(0, 0, 0); 508public static Color Add(Color color1, Color color2) 520public static Color operator -(Color color1, Color color2) 524Color c1 = FromScRgb( 538Color c1 = new Color(); 548Color c2 = Color.FromRgb(0, 0, 0); 627public static Color Subtract(Color color1, Color color2) 638public static Color operator *(Color color, float coefficient) 640Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 660public static Color Multiply(Color color, float coefficient) 668public static bool Equals(Color color1, Color color2) 680public bool Equals(Color color) 694if (o is Color) 696Color color = (Color)o; 711public static bool operator ==(Color color1, Color color2) 780public static bool operator !=(Color color1, Color color2) 1095Color c2 = Color.FromRgb(0, 0, 0);
System\Windows\Media\ColorConverter.cs (6)
111if (destinationType != null && value is Color) 115MethodInfo mi = typeof(Color).GetMethod("FromArgb", new Type[]{typeof(byte), typeof(byte), typeof(byte), typeof(byte)}); 116Color c = (Color)value; 121Color c = (Color)value;
System\Windows\Media\Composition.cs (1)
30internal static MilColorF ColorToMilColorF(Color c)
System\Windows\Media\Effects\DropShadowBitmapEffect.cs (1)
73Color color = Color;
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (4)
146public Color Color 150return (Color) GetValue(ColorProperty); 321internal static Color s_Color = Colors.Black; 361typeof(Color),
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (4)
146public Color Color 150return (Color) GetValue(ColorProperty); 407internal static Color s_Color = Colors.Black; 447typeof(Color),
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (4)
117public Color GlowColor 121return (Color) GetValue(GlowColorProperty); 268internal static Color s_GlowColor = Colors.Gold; 298typeof(Color),
System\Windows\Media\Effects\ShaderEffect.cs (4)
846type == typeof(Color) || 900else if (t == typeof(Color)) 902Color col = (Color)value;
System\Windows\Media\Generated\GradientStop.cs (4)
105public Color Color 109return (Color) GetValue(ColorProperty); 262typeof(Color), 296internal static Color s_Color = Colors.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (4)
98public Color Color 102return (Color) GetValue(ColorProperty); 312internal static Color s_Color = Colors.Transparent; 339typeof(Color),
System\Windows\Media\GradientStop.cs (1)
49public GradientStop(Color color, double offset)
System\Windows\Media\Imaging\BitmapPalette.cs (14)
46public BitmapPalette(IList<Color> colors) 57Color[] colorArray = new Color[count]; 64_colors = new PartialList<Color>(colorArray); 215public IList<Color> Colors 249foreach (Color color in palette.Colors) 291Color color = _colors[i]; 319List<Color> colors = new List<Color>(); 346colors.Add(Color.FromArgb(c.A, c.R, c.G, c.B)); 350_colors = new PartialList<Color>(colors); 385private IList<Color> _colors = new PartialList<Color>(new List<Color>());
System\Windows\Media\Knowncolors.cs (283)
217scp = new SolidColorBrush(Color.FromUInt32(argb)); 715public static Color AliceBlue 719return Color.FromUInt32((uint)KnownColor.AliceBlue); 726public static Color AntiqueWhite 730return Color.FromUInt32((uint)KnownColor.AntiqueWhite); 737public static Color Aqua 741return Color.FromUInt32((uint)KnownColor.Aqua); 748public static Color Aquamarine 752return Color.FromUInt32((uint)KnownColor.Aquamarine); 759public static Color Azure 763return Color.FromUInt32((uint)KnownColor.Azure); 770public static Color Beige 774return Color.FromUInt32((uint)KnownColor.Beige); 781public static Color Bisque 785return Color.FromUInt32((uint)KnownColor.Bisque); 792public static Color Black 796return Color.FromUInt32((uint)KnownColor.Black); 803public static Color BlanchedAlmond 807return Color.FromUInt32((uint)KnownColor.BlanchedAlmond); 814public static Color Blue 818return Color.FromUInt32((uint)KnownColor.Blue); 825public static Color BlueViolet 829return Color.FromUInt32((uint)KnownColor.BlueViolet); 836public static Color Brown 840return Color.FromUInt32((uint)KnownColor.Brown); 847public static Color BurlyWood 851return Color.FromUInt32((uint)KnownColor.BurlyWood); 858public static Color CadetBlue 862return Color.FromUInt32((uint)KnownColor.CadetBlue); 869public static Color Chartreuse 873return Color.FromUInt32((uint)KnownColor.Chartreuse); 880public static Color Chocolate 884return Color.FromUInt32((uint)KnownColor.Chocolate); 891public static Color Coral 895return Color.FromUInt32((uint)KnownColor.Coral); 902public static Color CornflowerBlue 906return Color.FromUInt32((uint)KnownColor.CornflowerBlue); 913public static Color Cornsilk 917return Color.FromUInt32((uint)KnownColor.Cornsilk); 924public static Color Crimson 928return Color.FromUInt32((uint)KnownColor.Crimson); 935public static Color Cyan 939return Color.FromUInt32((uint)KnownColor.Cyan); 946public static Color DarkBlue 950return Color.FromUInt32((uint)KnownColor.DarkBlue); 957public static Color DarkCyan 961return Color.FromUInt32((uint)KnownColor.DarkCyan); 968public static Color DarkGoldenrod 972return Color.FromUInt32((uint)KnownColor.DarkGoldenrod); 979public static Color DarkGray 983return Color.FromUInt32((uint)KnownColor.DarkGray); 990public static Color DarkGreen 994return Color.FromUInt32((uint)KnownColor.DarkGreen); 1001public static Color DarkKhaki 1005return Color.FromUInt32((uint)KnownColor.DarkKhaki); 1012public static Color DarkMagenta 1016return Color.FromUInt32((uint)KnownColor.DarkMagenta); 1023public static Color DarkOliveGreen 1027return Color.FromUInt32((uint)KnownColor.DarkOliveGreen); 1034public static Color DarkOrange 1038return Color.FromUInt32((uint)KnownColor.DarkOrange); 1045public static Color DarkOrchid 1049return Color.FromUInt32((uint)KnownColor.DarkOrchid); 1056public static Color DarkRed 1060return Color.FromUInt32((uint)KnownColor.DarkRed); 1067public static Color DarkSalmon 1071return Color.FromUInt32((uint)KnownColor.DarkSalmon); 1078public static Color DarkSeaGreen 1082return Color.FromUInt32((uint)KnownColor.DarkSeaGreen); 1089public static Color DarkSlateBlue 1093return Color.FromUInt32((uint)KnownColor.DarkSlateBlue); 1100public static Color DarkSlateGray 1104return Color.FromUInt32((uint)KnownColor.DarkSlateGray); 1111public static Color DarkTurquoise 1115return Color.FromUInt32((uint)KnownColor.DarkTurquoise); 1122public static Color DarkViolet 1126return Color.FromUInt32((uint)KnownColor.DarkViolet); 1133public static Color DeepPink 1137return Color.FromUInt32((uint)KnownColor.DeepPink); 1144public static Color DeepSkyBlue 1148return Color.FromUInt32((uint)KnownColor.DeepSkyBlue); 1155public static Color DimGray 1159return Color.FromUInt32((uint)KnownColor.DimGray); 1166public static Color DodgerBlue 1170return Color.FromUInt32((uint)KnownColor.DodgerBlue); 1177public static Color Firebrick 1181return Color.FromUInt32((uint)KnownColor.Firebrick); 1188public static Color FloralWhite 1192return Color.FromUInt32((uint)KnownColor.FloralWhite); 1199public static Color ForestGreen 1203return Color.FromUInt32((uint)KnownColor.ForestGreen); 1210public static Color Fuchsia 1214return Color.FromUInt32((uint)KnownColor.Fuchsia); 1221public static Color Gainsboro 1225return Color.FromUInt32((uint)KnownColor.Gainsboro); 1232public static Color GhostWhite 1236return Color.FromUInt32((uint)KnownColor.GhostWhite); 1243public static Color Gold 1247return Color.FromUInt32((uint)KnownColor.Gold); 1254public static Color Goldenrod 1258return Color.FromUInt32((uint)KnownColor.Goldenrod); 1265public static Color Gray 1269return Color.FromUInt32((uint)KnownColor.Gray); 1276public static Color Green 1280return Color.FromUInt32((uint)KnownColor.Green); 1287public static Color GreenYellow 1291return Color.FromUInt32((uint)KnownColor.GreenYellow); 1298public static Color Honeydew 1302return Color.FromUInt32((uint)KnownColor.Honeydew); 1309public static Color HotPink 1313return Color.FromUInt32((uint)KnownColor.HotPink); 1320public static Color IndianRed 1324return Color.FromUInt32((uint)KnownColor.IndianRed); 1331public static Color Indigo 1335return Color.FromUInt32((uint)KnownColor.Indigo); 1342public static Color Ivory 1346return Color.FromUInt32((uint)KnownColor.Ivory); 1353public static Color Khaki 1357return Color.FromUInt32((uint)KnownColor.Khaki); 1364public static Color Lavender 1368return Color.FromUInt32((uint)KnownColor.Lavender); 1375public static Color LavenderBlush 1379return Color.FromUInt32((uint)KnownColor.LavenderBlush); 1386public static Color LawnGreen 1390return Color.FromUInt32((uint)KnownColor.LawnGreen); 1397public static Color LemonChiffon 1401return Color.FromUInt32((uint)KnownColor.LemonChiffon); 1408public static Color LightBlue 1412return Color.FromUInt32((uint)KnownColor.LightBlue); 1419public static Color LightCoral 1423return Color.FromUInt32((uint)KnownColor.LightCoral); 1430public static Color LightCyan 1434return Color.FromUInt32((uint)KnownColor.LightCyan); 1441public static Color LightGoldenrodYellow 1445return Color.FromUInt32((uint)KnownColor.LightGoldenrodYellow); 1452public static Color LightGray 1456return Color.FromUInt32((uint)KnownColor.LightGray); 1463public static Color LightGreen 1467return Color.FromUInt32((uint)KnownColor.LightGreen); 1474public static Color LightPink 1478return Color.FromUInt32((uint)KnownColor.LightPink); 1485public static Color LightSalmon 1489return Color.FromUInt32((uint)KnownColor.LightSalmon); 1496public static Color LightSeaGreen 1500return Color.FromUInt32((uint)KnownColor.LightSeaGreen); 1507public static Color LightSkyBlue 1511return Color.FromUInt32((uint)KnownColor.LightSkyBlue); 1518public static Color LightSlateGray 1522return Color.FromUInt32((uint)KnownColor.LightSlateGray); 1529public static Color LightSteelBlue 1533return Color.FromUInt32((uint)KnownColor.LightSteelBlue); 1540public static Color LightYellow 1544return Color.FromUInt32((uint)KnownColor.LightYellow); 1551public static Color Lime 1555return Color.FromUInt32((uint)KnownColor.Lime); 1562public static Color LimeGreen 1566return Color.FromUInt32((uint)KnownColor.LimeGreen); 1573public static Color Linen 1577return Color.FromUInt32((uint)KnownColor.Linen); 1584public static Color Magenta 1588return Color.FromUInt32((uint)KnownColor.Magenta); 1595public static Color Maroon 1599return Color.FromUInt32((uint)KnownColor.Maroon); 1606public static Color MediumAquamarine 1610return Color.FromUInt32((uint)KnownColor.MediumAquamarine); 1617public static Color MediumBlue 1621return Color.FromUInt32((uint)KnownColor.MediumBlue); 1628public static Color MediumOrchid 1632return Color.FromUInt32((uint)KnownColor.MediumOrchid); 1639public static Color MediumPurple 1643return Color.FromUInt32((uint)KnownColor.MediumPurple); 1650public static Color MediumSeaGreen 1654return Color.FromUInt32((uint)KnownColor.MediumSeaGreen); 1661public static Color MediumSlateBlue 1665return Color.FromUInt32((uint)KnownColor.MediumSlateBlue); 1672public static Color MediumSpringGreen 1676return Color.FromUInt32((uint)KnownColor.MediumSpringGreen); 1683public static Color MediumTurquoise 1687return Color.FromUInt32((uint)KnownColor.MediumTurquoise); 1694public static Color MediumVioletRed 1698return Color.FromUInt32((uint)KnownColor.MediumVioletRed); 1705public static Color MidnightBlue 1709return Color.FromUInt32((uint)KnownColor.MidnightBlue); 1716public static Color MintCream 1720return Color.FromUInt32((uint)KnownColor.MintCream); 1727public static Color MistyRose 1731return Color.FromUInt32((uint)KnownColor.MistyRose); 1738public static Color Moccasin 1742return Color.FromUInt32((uint)KnownColor.Moccasin); 1749public static Color NavajoWhite 1753return Color.FromUInt32((uint)KnownColor.NavajoWhite); 1760public static Color Navy 1764return Color.FromUInt32((uint)KnownColor.Navy); 1771public static Color OldLace 1775return Color.FromUInt32((uint)KnownColor.OldLace); 1782public static Color Olive 1786return Color.FromUInt32((uint)KnownColor.Olive); 1793public static Color OliveDrab 1797return Color.FromUInt32((uint)KnownColor.OliveDrab); 1804public static Color Orange 1808return Color.FromUInt32((uint)KnownColor.Orange); 1815public static Color OrangeRed 1819return Color.FromUInt32((uint)KnownColor.OrangeRed); 1826public static Color Orchid 1830return Color.FromUInt32((uint)KnownColor.Orchid); 1837public static Color PaleGoldenrod 1841return Color.FromUInt32((uint)KnownColor.PaleGoldenrod); 1848public static Color PaleGreen 1852return Color.FromUInt32((uint)KnownColor.PaleGreen); 1859public static Color PaleTurquoise 1863return Color.FromUInt32((uint)KnownColor.PaleTurquoise); 1870public static Color PaleVioletRed 1874return Color.FromUInt32((uint)KnownColor.PaleVioletRed); 1881public static Color PapayaWhip 1885return Color.FromUInt32((uint)KnownColor.PapayaWhip); 1892public static Color PeachPuff 1896return Color.FromUInt32((uint)KnownColor.PeachPuff); 1903public static Color Peru 1907return Color.FromUInt32((uint)KnownColor.Peru); 1914public static Color Pink 1918return Color.FromUInt32((uint)KnownColor.Pink); 1925public static Color Plum 1929return Color.FromUInt32((uint)KnownColor.Plum); 1936public static Color PowderBlue 1940return Color.FromUInt32((uint)KnownColor.PowderBlue); 1947public static Color Purple 1951return Color.FromUInt32((uint)KnownColor.Purple); 1958public static Color Red 1962return Color.FromUInt32((uint)KnownColor.Red); 1969public static Color RosyBrown 1973return Color.FromUInt32((uint)KnownColor.RosyBrown); 1980public static Color RoyalBlue 1984return Color.FromUInt32((uint)KnownColor.RoyalBlue); 1991public static Color SaddleBrown 1995return Color.FromUInt32((uint)KnownColor.SaddleBrown); 2002public static Color Salmon 2006return Color.FromUInt32((uint)KnownColor.Salmon); 2013public static Color SandyBrown 2017return Color.FromUInt32((uint)KnownColor.SandyBrown); 2024public static Color SeaGreen 2028return Color.FromUInt32((uint)KnownColor.SeaGreen); 2035public static Color SeaShell 2039return Color.FromUInt32((uint)KnownColor.SeaShell); 2046public static Color Sienna 2050return Color.FromUInt32((uint)KnownColor.Sienna); 2057public static Color Silver 2061return Color.FromUInt32((uint)KnownColor.Silver); 2068public static Color SkyBlue 2072return Color.FromUInt32((uint)KnownColor.SkyBlue); 2079public static Color SlateBlue 2083return Color.FromUInt32((uint)KnownColor.SlateBlue); 2090public static Color SlateGray 2094return Color.FromUInt32((uint)KnownColor.SlateGray); 2101public static Color Snow 2105return Color.FromUInt32((uint)KnownColor.Snow); 2112public static Color SpringGreen 2116return Color.FromUInt32((uint)KnownColor.SpringGreen); 2123public static Color SteelBlue 2127return Color.FromUInt32((uint)KnownColor.SteelBlue); 2134public static Color Tan 2138return Color.FromUInt32((uint)KnownColor.Tan); 2145public static Color Teal 2149return Color.FromUInt32((uint)KnownColor.Teal); 2156public static Color Thistle 2160return Color.FromUInt32((uint)KnownColor.Thistle); 2167public static Color Tomato 2171return Color.FromUInt32((uint)KnownColor.Tomato); 2178public static Color Transparent 2182return Color.FromUInt32((uint)KnownColor.Transparent); 2189public static Color Turquoise 2193return Color.FromUInt32((uint)KnownColor.Turquoise); 2200public static Color Violet 2204return Color.FromUInt32((uint)KnownColor.Violet); 2211public static Color Wheat 2215return Color.FromUInt32((uint)KnownColor.Wheat); 2222public static Color White 2226return Color.FromUInt32((uint)KnownColor.White); 2233public static Color WhiteSmoke 2237return Color.FromUInt32((uint)KnownColor.WhiteSmoke); 2244public static Color Yellow 2248return Color.FromUInt32((uint)KnownColor.Yellow); 2255public static Color YellowGreen 2259return Color.FromUInt32((uint)KnownColor.YellowGreen);
System\Windows\Media\LinearGradientBrush.cs (4)
56public LinearGradientBrush(Color startColor, 57Color endColor, 74public LinearGradientBrush(Color startColor, 75Color endColor,
System\Windows\Media\Parsers.cs (11)
53static private Color ParseHexColor(string trimmedColor) 92return ( Color.FromArgb ((byte)a, (byte)r, (byte)g, (byte)b) ); 98static private Color ParseContextColor(string trimmedColor, IFormatProvider formatProvider, ITypeDescriptorContext context) 143Color result = Color.FromAValues(alpha, values, profileUri); 154static private Color ParseScRgbColor(string trimmedColor, IFormatProvider formatProvider) 182return Color.FromScRgb(values[0], values[1], values[2], values[3]); 186return Color.FromScRgb(1.0f, values[0], values[1], values[2]); 195internal static Color ParseColor(string color, IFormatProvider formatProvider) 206internal static Color ParseColor(string color, IFormatProvider formatProvider, ITypeDescriptorContext context) 244return Color.FromUInt32((uint)kc);
System\Windows\Media\RadialGradientBrush.cs (2)
52public RadialGradientBrush(Color startColor, 53Color endColor) : base()
System\Windows\Media\SolidColorBrush.cs (1)
54public SolidColorBrush(Color color)
System\Windows\Media3D\AmbientLight.cs (1)
48public AmbientLight(Color ambientColor)
System\Windows\Media3D\DirectionalLight.cs (1)
49public DirectionalLight(Color diffuseColor, Vector3D direction)
System\Windows\Media3D\Generated\DiffuseMaterial.cs (8)
145public Color Color 149return (Color) GetValue(ColorProperty); 160public Color AmbientColor 164return (Color) GetValue(AmbientColorProperty); 358internal static Color s_Color = Colors.White; 359internal static Color s_AmbientColor = Colors.White; 389typeof(Color), 398typeof(Color),
System\Windows\Media3D\Generated\EmissiveMaterial.cs (4)
138public Color Color 142return (Color) GetValue(ColorProperty); 331internal static Color s_Color = Colors.White; 361typeof(Color),
System\Windows\Media3D\Generated\Light.cs (4)
94public Color Color 98return (Color) GetValue(ColorProperty); 194internal static Color s_Color = Colors.White; 221typeof(Color),
System\Windows\Media3D\Generated\SpecularMaterial.cs (4)
145public Color Color 149return (Color) GetValue(ColorProperty); 358internal static Color s_Color = Colors.White; 389typeof(Color),
System\Windows\Media3D\PointLight.cs (1)
48public PointLight(Color diffuseColor, Point3D position)
System\Windows\Media3D\SpotLight.cs (1)
48public SpotLight(Color diffuseColor, Point3D position, Vector3D direction,
PresentationFramework (162)
MS\Internal\Annotations\Component\HighlightComponent.cs (21)
129public Color DefaultBackground 144public Color DefaultActiveBackground 394Color IHighlightRange.Background 405Color IHighlightRange.SelectedBackground 476internal static void GetCargoColors(Annotation annot, ref Nullable<Color> backgroundColor, ref Nullable<Color> activeBackgroundColor) 548private static Color GetColor(string color) 550return (Color)ColorConverter.ConvertFromString(color); 560private void GetColors(Annotation annot, out Color backgroundColor, out Color activeBackgroundColor) 562Nullable<Color> tempBackgroundColor = _defaultBackroundColor; 563Nullable<Color> tempActiveBackgroundColor = _defaultActiveBackgroundColor; 565backgroundColor = (Color)tempBackgroundColor; 566activeBackgroundColor = (Color)tempActiveBackgroundColor; 590Color background, activeBackground; 653private Color _background; 654private Color _selectedBackground; 668private Color _defaultBackroundColor = (Color)ColorConverter.ConvertFromString("#33FFFF00"); 669private Color _defaultActiveBackgroundColor = (Color)ColorConverter.ConvertFromString("#339ACD32");
MS\Internal\Annotations\Component\IHighlightRange.cs (2)
64Color Background 72Color SelectedBackground
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (8)
1137internal static Color DefaultAnchorBackground = (Color)ColorConverter.ConvertFromString("#3380FF80"); 1138internal static Color DefaultMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000"); 1139internal static Color DefaultActiveAnchorBackground = (Color)ColorConverter.ConvertFromString("#3300FF00"); 1140internal static Color DefaultActiveMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000");
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
48_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1); 51_adornerFillBrush = new LinearGradientBrush(Color.FromRgb(240, 242, 255), //start color 52Color.FromRgb(180, 207, 248), //end color
MS\Internal\Documents\TextBoxView.cs (1)
540context.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)
32internal abstract void TurnHighContrastOn(Color highContrastColor); 196Color windowTextColor = SystemColors.WindowTextColor;
MS\Internal\Ink\LassoHelper.cs (2)
51static readonly Color DotColor = Colors.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f); 52static readonly Color DotCircumferenceColor = Colors.White;
MS\Internal\Ink\PenCursorManager.cs (3)
446Color.FromRgb(240, 242, 255), // Start Color 447Color.FromRgb(180, 207, 248), // End Color 452SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
System\Windows\Annotations\AnnotationHelper.cs (4)
938Nullable<Color> color = null; 954color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B); 977private static Annotation ProcessHighlights(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color, bool create) 1029private 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)
2953internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\InkPresenter.cs (1)
397internal override void TurnHighContrastOn(Color highContrastColor)
System\Windows\Controls\ProgressBar.cs (1)
198Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\TextRangeAdaptor.cs (1)
1260Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\CompositionAdorner.cs (4)
510Color lineColor = _textServicesDisplayAttribute.GetLineColor(start); 680internal CompositionLine(Rect startRect, Rect endRect, Color lineColor) 744internal Color LineColor 769private Color _color;
System\Windows\Documents\RtfToXamlReader.cs (23)
366internal static bool ColorToUse(ConverterState converterState, long cb, long cf, long shade, ref Color c) 388Color cCB = entryCB != null ? entryCB.Color : Color.FromArgb(0xFF, 0, 0, 0); 389Color cCF = entryCF != null ? entryCF.Color : Color.FromArgb(0xFF, 255, 255, 255); 394c = Color.FromArgb(0xff, 404c = Color.FromArgb(0xff, 414c = Color.FromArgb(0xff, 424c = Color.FromArgb(0xff, 3813_color = Color.FromArgb(0xff, 0, 0, 0); 3827internal Color Color 3855_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3863_color = Color.FromArgb(0xff, _color.R, value, _color.B); 3871_color = Color.FromArgb(0xff, _color.R, _color.G, value); 3885private Color _color; 3920internal Color ColorAt(int index) 3928return Color.FromArgb(0xff, 0, 0, 0); 3940int i = AddColor(Color.FromArgb(0xff, 0, 0, 0)); 3947internal int AddColor(Color color) 5139Color cToUse = Color.FromArgb(0xff, 0, 0, 0); 5198Color cToUse = Color.FromArgb(0xff, 0, 0, 0);
System\windows\Documents\TextSelection.cs (2)
1621Color backgroundColor; 1663caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
System\Windows\Documents\TextServicesDisplayAttribute.cs (5)
94internal static Color GetColor(UnsafeNativeMethods.TF_DA_COLOR dacolor, ITextPointer position) 104return Color.FromArgb((byte)((argb & 0xff000000) >> 24), (byte)((argb & 0x00ff0000) >> 16), (byte)((argb & 0x0000ff00) >> 8), (byte)(argb & 0x000000ff)); 114internal Color GetLineColor(ITextPointer position) 179private static Color GetSystemColor(int index) 186return Color.FromArgb((byte)((argb&0xff000000)>>24), (byte)((argb&0x00ff0000)>>16),(byte)((argb&0x0000ff00)>>8), (byte)(argb&0x000000ff));
System\Windows\Documents\XamlToRtfWriter.cs (7)
54colorTable.AddColor(Color.FromArgb(0xff, 0, 0, 0)); 55colorTable.AddColor(Color.FromArgb(0xff, 0xff, 0xff, 0xff)); 558Color color = colorTable.ColorAt(i); 3637Color color = Color.FromRgb((byte)((colorValue & 0x00ff0000) >> 16), 3649Color color = (Color)ColorConverter.ConvertFromString(brush);
System\Windows\DwmColorization.cs (24)
13private static Color _currentApplicationAccentColor = Color.FromArgb(0xff, 0x00, 0x78, 0xd4); 20internal static Color CurrentApplicationAccentColor 41/// <returns>Updated <see cref="System.Windows.Media.Color"/> Accent Color.</returns> 42internal static Color GetSystemAccentColor() 44_UISettings.TryGetColorValue(UISettingsRCW.UIColorType.Accent, out Color systemAccent); 53Color systemAccent = GetSystemAccentColor(); 54Color primaryAccent, secondaryAccent, tertiaryAccent; 84Color systemAccent, 85Color primaryAccent, 86Color secondaryAccent, 87Color tertiaryAccent) 111Color.FromArgb( 0xFF, 0x00, 0x00, 0x00); 114Color.FromArgb( 0x80, 0x00, 0x00, 0x00); 117Color.FromArgb( 0x77, 0x00, 0x00, 0x00); 120Color.FromArgb( 0x00, 0x00, 0x00, 0x00); 123Color.FromArgb( 0x5D, 0x00, 0x00, 0x00); 131Color.FromArgb( 0xFF, 0xFF, 0xFF, 0xFF); 134Color.FromArgb( 0x80, 0xFF, 0xFF, 0xFF); 137Color.FromArgb( 0x87, 0xFF, 0xFF, 0xFF); 140Color.FromArgb( 0xFF, 0xFF, 0xFF, 0xFF); 143Color.FromArgb( 0x5D, 0xFF, 0xFF, 0xFF); 164/// Creates a <see cref="SolidColorBrush"/> from a <see cref="System.Windows.Media.Color"/> with defined brush opacity. 169private static SolidColorBrush ToBrush(Color color, double opacity = 1.0)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
177case 81: t = () => typeof(Color); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2630typeof(System.Windows.Media.Color),
System\Windows\Markup\KnownTypes.cs (1)
5635case KnownElements.Color: t = typeof(System.Windows.Media.Color); break;
System\Windows\Standard\Utilities.cs (2)
38public static Color ColorFromArgbDword(uint color) 40return Color.FromArgb(
System\Windows\SystemColors.cs (35)
23public static Color ActiveBorderColor 34public static Color ActiveCaptionColor 45public static Color ActiveCaptionTextColor 56public static Color AppWorkspaceColor 67public static Color ControlColor 78public static Color ControlDarkColor 89public static Color ControlDarkDarkColor 100public static Color ControlLightColor 111public static Color ControlLightLightColor 122public static Color ControlTextColor 133public static Color DesktopColor 144public static Color GradientActiveCaptionColor 155public static Color GradientInactiveCaptionColor 166public static Color GrayTextColor 177public static Color HighlightColor 188public static Color HighlightTextColor 199public static Color HotTrackColor 210public static Color InactiveBorderColor 221public static Color InactiveCaptionColor 232public static Color InactiveCaptionTextColor 243public static Color InfoColor 254public static Color InfoTextColor 265public static Color MenuColor 276public static Color MenuBarColor 287public static Color MenuHighlightColor 298public static Color MenuTextColor 309public static Color ScrollBarColor 320public static Color WindowColor 331public static Color WindowFrameColor 342public static Color WindowTextColor 1785private static Color GetSystemColor(CacheSlot slot) 1787Color color; 1800color = Color.FromArgb((byte)((argb & 0xff000000) >>24), (byte)((argb & 0x00ff0000) >>16), (byte)((argb & 0x0000ff00) >>8), (byte)(argb & 0x000000ff)); 1942private static Color[] _colorCache = new Color[(int)CacheSlot.NumSlots];
System\Windows\SystemParameters.cs (2)
5659public static Color WindowGlassColor 5962private static Color _windowGlassColor;
System\Windows\ThemeManager.cs (2)
81Color systemAccentColor = DwmColorization.GetSystemAccentColor(); 98Color requestedAccentColor,
System\Windows\VisualStateManager.cs (2)
457Color? targetColor = GetTargetColor(timeline, isEntering); 595private static Color? GetTargetColor(Timeline timeline, bool isEntering)
PresentationFramework.Aero (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
199ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 202ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 205ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 209ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 212ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 219ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 222ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 225ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 233ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 236ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 239ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 244ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 247ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 257ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 260ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 263ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 280ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 287ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 290ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 294ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 297ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 303ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 306ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 309ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 349ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 352ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 360ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 363ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 366ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 370ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 373ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 379ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 382ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 385ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 393ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 396ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 399ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 403ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 406ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 422ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 425ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 428ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 960temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 983temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1009brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1010brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1011brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1012brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1042brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1043brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1044brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1045brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1074brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1075brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1203temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1204temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1205temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1233temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1234temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1235temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1263temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1264temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1265temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1295temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1296temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1297temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1380temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1402temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1424temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1452brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1453brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1454brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1484brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1485brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1486brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1516brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1517brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1518brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1548brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1549brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1550brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1580brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1581brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1582brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1612brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1613brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1614brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1644brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1645brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1646brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1676brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1677brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1678brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1740brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1741brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1771brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1772brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1840temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1841temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1867temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1893temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1894temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 1921temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 1922temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 1948temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 1949temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 1974temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 1975temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 2000temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 2001temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 0.8));
Microsoft\Windows\Themes\ButtonChrome.cs (23)
125ColorAnimation ca = new ColorAnimation(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF), duration); 315ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 320ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 323ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 326ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 701temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 702temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 703temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 704temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 731temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 732temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 733temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 817temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 839temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 862temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 938brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 939brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 964temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)); 1030temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1031temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1093temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1094temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 78bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 79bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 80bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 114background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 115background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 128background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 129background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 130background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 190lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 191lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 192lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 193lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 197lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 198lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 199lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 200lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 204lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 205lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 206lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 207lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 211sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 235topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 236topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 237topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 238topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 252pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 253pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 254pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 255pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 288bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 292bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 296bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 363arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 364arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 365arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 378arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 379arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 380arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 546brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 547brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 548brush.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)); 608temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (86)
136ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x21, 0x21, 0x21), duration); 138ca = new ColorAnimation(Color.FromRgb(0x57, 0x57, 0x57), duration); 140ca = new ColorAnimation(Color.FromRgb(0xB3, 0xB3, 0xB3), duration); 249ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 252ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 255ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 258ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 261ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 268ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 271ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 274ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 279ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 282ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 285ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 326ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 329ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 332ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 335ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 338ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 345ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 348ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 351ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 357ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 360ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 363ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 816temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 817temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 818temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 819temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 846temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 847temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 848temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 849temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 874temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 875temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 876temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 877temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 903temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 904temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 905temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 906temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 931temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 932temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 933temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 934temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 959temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 960temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 961temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 962temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1083temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1107temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1131temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1281temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1355temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1356temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1357temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1382temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1383temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1384temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1409temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1410temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1411temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1436temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1437temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1438temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1463temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1464temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1465temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1490temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1491temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1492temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1519temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1520temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1521temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1547temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1548temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1549temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1575temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1576temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1577temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1603temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1604temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1605temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1691_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1692_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1693_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)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Aero2 (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
199ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 202ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 205ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 209ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 212ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 219ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 222ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 225ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 233ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 236ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 239ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 244ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 247ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 257ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 260ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 263ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 280ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 287ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 290ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 294ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 297ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 303ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 306ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 309ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 349ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 352ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 360ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 363ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 366ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 370ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 373ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 379ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 382ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 385ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 393ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 396ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 399ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 403ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 406ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 422ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 425ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 428ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 960temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 983temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1009brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1010brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1011brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1012brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1042brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1043brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1044brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1045brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1074brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1075brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1203temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1204temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1205temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1233temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1234temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1235temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1263temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1264temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1265temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1295temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1296temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1297temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1380temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1402temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1424temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1452brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1453brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1454brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1484brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1485brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1486brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1516brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1517brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1518brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1548brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1549brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1550brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1580brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1581brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1582brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1612brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1613brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1614brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1644brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1645brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1646brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1676brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1677brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1678brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1740brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1741brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1771brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1772brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1840temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1841temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1867temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1893temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1894temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 1921temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 1922temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 1948temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 1949temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 1974temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 1975temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 2000temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 2001temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 0.8));
Microsoft\Windows\Themes\ButtonChrome.cs (23)
125ColorAnimation ca = new ColorAnimation(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF), duration); 315ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 320ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 323ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 326ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 701temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 702temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 703temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 704temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 731temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 732temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 733temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 817temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 839temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 862temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 938brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 939brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 964temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)); 1030temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1031temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1093temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1094temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
77bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 78bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 79bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 80bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 114background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 115background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 128background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 129background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 130background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 190lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 191lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 192lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 193lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 197lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 198lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 199lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 200lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 204lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 205lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 206lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 207lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 211sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 235topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 236topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 237topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 238topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 252pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 253pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 254pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 255pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 288bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 292bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 296bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 363arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 364arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 365arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 378arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 379arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 380arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 546brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 547brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 548brush.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)); 608temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (86)
136ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x21, 0x21, 0x21), duration); 138ca = new ColorAnimation(Color.FromRgb(0x57, 0x57, 0x57), duration); 140ca = new ColorAnimation(Color.FromRgb(0xB3, 0xB3, 0xB3), duration); 249ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 252ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 255ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 258ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 261ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 268ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 271ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 274ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 279ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 282ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 285ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 326ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 329ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 332ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 335ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 338ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 345ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 348ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 351ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 357ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 360ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 363ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 816temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 817temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 818temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 819temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 846temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 847temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 848temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 849temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 874temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 875temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 876temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 877temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 903temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 904temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 905temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 906temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 931temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 932temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 933temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 934temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 959temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 960temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 961temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 962temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1083temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1107temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1131temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1281temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1355temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1356temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1357temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1382temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1383temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1384temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1409temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1410temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1411temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1436temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1437temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1438temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1463temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1464temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1465temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1490temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1491temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1492temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1519temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1520temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1521temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1547temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1548temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1549temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1575temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1576temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1577temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1603temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1604temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1605temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1691_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1692_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1693_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)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.AeroLite (23)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (7)
85background.Color = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 89background.Color = Color.FromArgb(0xFF, 0x85, 0xD2, 0xF5); 93background.Color = Color.FromArgb(0xFF, 0xBC, 0xEC, 0xFC); 132sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1)); 136sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x4F, 0x90, 0xAE)); 140sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3)); 232arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 307SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 327SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 375temp.Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)); 399temp.Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)); 423temp.Brush = 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)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Classic (19)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
181public RgbColor(Color color) 186public Color Color 188get { return Color.FromArgb(this.Alpha, (byte)(this.Red * 255), (byte)(this.Green * 255), (byte)(this.Blue * 255)); } 386private static Color GetControlLightLightColor(Color controlColor) 395private static Color GetControlDarkColor(Color controlColor) 408Color controlColor; 434Color darkColor = GetControlDarkColor(controlColor); 438Color darkDarkColor = new Color();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
21if (value is Color color)
PresentationFramework.Luna (255)
Microsoft\Windows\Themes\ButtonChrome.cs (61)
560SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 584SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 609SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 714brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 715brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 716brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 754brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 755brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 756brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 757brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 785brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD1, 0x8F), 0)); 786brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xCB, 0x80), 0.3)); 787brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xC1, 0x54), 0.97)); 788brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xA7, 0x66), 1)); 816brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 817brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 818brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 819brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 847brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 848brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 849brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 850brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 878brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xC5, 0x95), 0)); 879brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xED, 0xBD, 0x96), 0.03)); 880brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.97)); 881brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCF, 0x72, 0x25), 1)); 910brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 911brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 912brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 913brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 976temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 977temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 1002temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1003temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1028temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1029temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1054temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 1055temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 1098temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0x59,0x2F,0x00), 0.5)); 1099temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28,0x59,0x2F,0x00), 1)); 1124temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1125temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1150temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x59, 0x2F, 0x00), 0.5)); 1151temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28, 0x59, 0x2F, 0x00), 1)); 1193temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 1194temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1231temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 1232temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1266SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1308SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1333temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE6, 0xE6, 0xE0), 0)); 1334temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xE2, 0xDA), 1)); 1359temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEE, 0xE9, 0xD5), 0)); 1360temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE4, 0xCE), 1)); 1385temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1386temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE5, 0xF0), 0.7)); 1387temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC6, 0xC5, 0xD7), 1)); 1412temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB3, 0xB2, 0xC5), 0)); 1413temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xDB, 0xE5), 0.6)); 1414temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.8));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (33)
119background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 120background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xC2, 0xB8), 0.0)); 126background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 0.1)); 127background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 1.0)); 134background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 135background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 140background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.0)); 141background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.85)); 142background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE9, 0xD8), 1.0)); 149background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 150background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 151background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 155background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.0)); 156background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.85)); 157background.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)); 221tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.0)); 222tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 1.0)); 226tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 227tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 228tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 229tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 247border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 275Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 276Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 355arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (133)
664temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEA, 0xFE), 0)); 665temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.3)); 666temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.6)); 667temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBB, 0xCD, 0xF9), 1)); 692temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 693temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 694temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 719temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 720temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 721temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 746temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFD, 0xFF, 0xFF), 0)); 747temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xF3, 0xFD), 0.25)); 748temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xDA, 0xFB), 1)); 773temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 774temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 775temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 801temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 802temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 803temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 828temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0x8E, 0xF1), 0)); 829temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x80, 0x9D, 0xF1), 0.3)); 830temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAF, 0xBF, 0xED), 0.7)); 831temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD2, 0xDE, 0xEB), 1)); 856temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 857temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 858temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 883temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 884temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 885temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 910temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 911temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 912temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 913temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 938temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 939temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 940temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 941temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 966temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 967temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 968temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 969temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 995temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 996temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 997temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 998temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1023temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1024temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1025temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1026temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1051temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1052temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1053temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1054temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1079temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1080temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1081temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1082temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1083temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1108temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1109temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1110temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1111temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1112temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1139temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1140temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1141temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1142temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1143temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1168temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1169temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1170temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1171temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1172temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1198temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1199temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1200temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1201temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1202temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1203temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1228temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1229temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1230temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1231temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1232temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1233temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1258temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF7, 0xF7), 0)); 1259temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF0, 0xF0, 0xF0), 0.3)); 1260temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xEC), 0.6)); 1261temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE3, 0xE3), 1)); 1384SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1405SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1476SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1497SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1518SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1539SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1560SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1581SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1602SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1678SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1699SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1720SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1741SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1762SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1783SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1804SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1825SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1888temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1910temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1932temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1954temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1976temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2033temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2055temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2079temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2101temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2123temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2145temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2167temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2190temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2212temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2234temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2257temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2332brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xCC, 0xCC, 0xBA), 0)); 2333brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCC, 0xCC, 0xBA), 0.5)); 2334brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC4, 0xC4, 0xAF), 1)); 2364brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xA0, 0xB5, 0xD3), 0)); 2365brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA0, 0xB5, 0xD3), 0.5)); 2366brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7C, 0x9F, 0xD3), 1)); 2396brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xB6, 0xC1, 0xA6), 0)); 2397brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9B, 0xB1, 0x81), 0.5)); 2398brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8B, 0x93, 0x77), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 591temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 592temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 593temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 615temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 616temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 740brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 741brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 789temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 790temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 817temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 818temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 867temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Royale (101)
Microsoft\Windows\Themes\ButtonChrome.cs (28)
475SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9)); 573brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 574brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 575brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 613brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 614brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 615brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 616brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 645brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 646brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 647brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 648brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 698temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 699temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 724temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 725temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 763temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 764temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 801temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 802temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 839temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 840temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 865temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 866temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 914temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 915temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xEB, 0xF3), 0.5)); 916temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD0, 0xDC, 0xEB), 0.5)); 917temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA6, 0xB8, 0xCF), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (20)
73background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 74background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 75background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 79background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 80background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 81background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 85background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 86background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 87background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 133SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 149tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 150tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 151tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 152tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 169border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 197Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 198Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 277arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (25)
622temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 623temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 0.8)); 648temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 649temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 675temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 676temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 1)); 701temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 702temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 1)); 727temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 728temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 753temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 754temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 779temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF7, 0xFF), 0)); 780temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD5, 0xE7, 0xFF), 1)); 833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 855SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 876SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 897SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 944SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 965SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1009brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEE, 0xFF), 0.5)); 1010brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xC5, 0xDD), 1)); 1034temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1056temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1094temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 591temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 592temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 593temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 615temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 616temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 709brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 710brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 740brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 741brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 789temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 790temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 817temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 818temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 866temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 867temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
39typeof(Color), 42Color.FromArgb(0x71, 0x00, 0x00, 0x00), 49public Color Color 51get { return (Color)GetValue(ColorProperty); } 106Color color = Color; 295private static GradientStopCollection CreateStops(Color c, double cornerRadius) 304Color stopColor = c; 326private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 431private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
ReachFramework (72)
AlphaFlattener\BrushProxy.cs (41)
1165Color c = scb.Color; 1766private BrushProxy BlendImage(Color color, bool pre) 1789private BrushProxy BlendDrawingBrush(Color color, bool after) 1822private BrushProxy BlendTileBrush(Color color, bool pre) 1841private BrushProxy BlendComplexColor(Color color, bool pre) 1864private Color BlendStopColor(Color color, Color stopColor, bool pre) 1866Color result; 1972private BrushProxy BlendGradient(Color color, bool pre, ColorInterpolationMode interpolationMode) 2001Color color0 = stop0.Color; 2002Color color1 = stop1.Color; 2032Color c = BlendStopColor(color, gs.Color, pre); 2051Color prevColor = Utility.NormalizeColor(prevStop.Color); 2054Color currentColor; 2078Color blend; 2082blend = Color.FromScRgb( 2091blend = Color.FromArgb( 2613Color c = sb.Color; 2630Color c = sb.Color; 2717public static BrushProxy CreateColorBrush(Color color) 2954Color c = gsc[0].Color; 2963if (!Color.AreClose(c, gs.Color)) 3226public static BrushProxy BlendColorWithBrush(bool opacityOnly, Color colorA, BrushProxy brushB, bool reverse) 3397public Color BeforeFill 3411public Color AfterFill 3515s_EmptyBrush = new BrushProxy(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0))); 3541private Color _beforeDrawing = Color.FromArgb(0, 0, 0, 0); 3542private Color _afterDrawing = Color.FromArgb(0, 0, 0, 0); 3657public MyColor(Color c, ColorInterpolationMode ciMode) 3681public Color ToColor(ColorInterpolationMode ciMode) 3685return Color.FromScRgb(m_a, m_r, m_g, m_b); 3689return Color.FromArgb(Utility.OpacityToByte(m_a), Utility.ColorToByte(m_r), Utility.ColorToByte(m_g), Utility.ColorToByte(m_b)); 3778public Color GetInvalidGradientColor() 3783public Color GetColor(int i, int steps) 3789return Color.FromArgb(0, 255, 255, 255); // transparent white 3854return Color.FromArgb(0, 255, 255, 255); 4062public Geometry GetSlice(int i, out Color color) 4289public Geometry GetSlice(int i, out Color color)
AlphaFlattener\DrawingContext.cs (2)
280Color color; 405Color color;
AlphaFlattener\ImageProxy.cs (4)
243public void BlendUnderColor(Color color, double opacity, bool opacityOnly) 249public void BlendOverColor(Color color, double opacity, bool opacityOnly) 338IList<System.Windows.Media.Color> palColor = palette.Colors; 342foreach (Color c in palColor)
AlphaFlattener\Utility.cs (12)
1158static public Color BlendColor(Color x, Color y) 1174return Color.FromArgb(0, 255, 255, 255); // transparent white 1181Color ret = Color.FromArgb((Byte)(d / 255), red, green, blue); 1193public static Color Scale(Color color, double opacity) 1240static public void BlendOverColor(byte[] pixels, int count, Color colorX, double opacity, bool opacityOnly) 1298static public void BlendUnderColor(byte[] pixels, int count, Color colorY, double opacity, bool opacityOnly) 2311public static Color NormalizeColor(Color color)
Serialization\ColorTypeConverter.cs (2)
155Color color = (Color)value;
Serialization\Manager\XpsOMSerializationManager.cs (2)
229else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 261else if (typeof(Color).IsAssignableFrom(serializedObjectType))
Serialization\Manager\XpsSerializationManager.cs (2)
390else if (typeof(Color).IsAssignableFrom(serializedObject.GetType())) 422else if (typeof(Color).IsAssignableFrom(serializedObjectType))
Serialization\VisualSerializer.cs (3)
327protected string ColorToString(Color color) 331TypeConverter converter = _manager.GetTypeConverter(typeof(Color)); 349Color color = Utility.Scale(solidBrush.Color, solidBrush.Opacity);
Serialization\VisualTreeFlattener.cs (4)
58Color color = (Color)value; 263if (typeof(Color).IsAssignableFrom(objType)) 621Color color = colorBrush.Color;
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (1)
324internal static SD.Color ToSystemDrawingColor(SWM.Color color)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
377SWM.Color brushColor;