Is there a built-in function that would convert a color by name into its hex representation?
Like I want to pass ‘white’ and receive ‘#FFFFFF’. I really want to avoid coding all hundred if’s myself 🙂
Is there a built-in function that would convert a color by name into its
Share
No, but using the list here you could create one. Something like this: