GutterColor
GutterColor copied to clipboard
Colors are off if using hsl
The first line shows as red, while the others show up correctly.
(They should all look the same teal/blue)
Looks like the values are being interpreted wrong?
Yep – that's a better way to put it :)
It's the ImageMagick parsing issue seen in #61 and #69.
(Thanks for the reminder on that :wink:)
Ah yes, I forgot about that.
I think the best way is to parse the color from python and render it latter (may be by using pure python too).
Will HSL only ever be written either (deg, %, %) or (%, %, %)? Or do we need to code for other formats as well?
@andytruett I would expect to find people using decimals [0.0-1.0]
in most of the same contexts as percentages, especially with the increase in alpha channel usage.
Also to recap, IM only accepts (deg, 8bit, 8bit)
or (%, %, %)
, so in order to support the standard (deg, %, %)
we'll need to convert at least one number on our end. Once we've done that, we can basically add arbitrary formats 'for free'.