get color from ScRGB
Published: 24. October 2011 | Updated: 26. October 2011License: Microsoft Public License (MS-PL)
Categories: Converting » Colors, WPF
Tags: C# Colors Conversion WPF
Import namespace
using System.Windows.Media;
Code
Color color = Color.FromScRgb(1, 1, 0.9f, 0.5f);
| Send us feedback about this snippet » |





