MaterialSkin icon indicating copy to clipboard operation
MaterialSkin copied to clipboard

Use colors RGB in ColorScheme

Open DevRM9 opened this issue 7 years ago • 2 comments

How can I use a RGB code to personilize my app?

materialSkinManager.ColorScheme = new ColorScheme(Primary.Lime400, Primary.Lime500, Primary.Blue500, Accent.Orange700, TextShade.White);

I want to use a RGB code instead of Lime500

DevRM9 avatar Dec 20 '17 21:12 DevRM9

You cannot put RGB code into the constructor parameters, but you can use the ToColor extension to change the Primary.Lime500 to Color.

hlysine avatar Jan 05 '18 07:01 hlysine

Hi, Material design only has a set colours you can use. If you don't stick to them, you aren't officially material design. Please check out the colour pallet, and rules here: https://material.io/guidelines/style/color.html#

ed6767 avatar Jan 05 '18 13:01 ed6767