How to

get color from ScRGB

Published: 24. October 2011 | Updated: 26. October 2011
License: Microsoft Public License (MS-PL)
Categories: Converting » Colors, WPF
Tags: C# Colors Conversion WPF
Was this snippet helpful for you? YESYES / NONO

Import namespace

using System.Windows.Media;

Code

Color color = Color.FromScRgb(1, 1, 0.9f, 0.5f);
Send us feedback about this snippet »



Related Snippets: