Convert colour palette name to hex code
-
Is there a Quasar function that can convert colour palette name to hex code? For example,
colors.nameToHex('orange-10')
returns “#E65100”I’m trying to customize Google Chart color. The
colors
setting takes standard color names or hex codes. Currently, I’m hard-coding the hex codes. -
@eyee check the color utils if there’s one for what you need https://quasar.dev/quasar-utils/color-utils#Introduction