|
 |
On 2026-03-25 18:02 (-4), Cousin Ricky wrote:
> Ilya Razmanov <ily### [at] gmail com> wrote:
>> [snip]
>>
>> Resulting .inc file attached in case someone need these named colors.
>>
>> Python file attached as well in case someone wish to change something in
>> output format, like rounding (currently set to 3 decimals) etc.
>
> I'm pretty sure that, as the W3C has adopted sRGB as its standard, your colors
> should be #declared with `srgb` rather than `rgb`. Your list is consistent with
> mine, and when I render these colors, it seems clear that they are gamma-2.2 or
> sRGB encoded. Note that the `srgb` keyword will yield consistent colors
> regardless of your assumed_gamma setting.
Verified: https://www.w3.org/TR/SVG11/types.html#DataTypeColor
You should use the `srgb` keyword, not the `rgb` keyword.
Post a reply to this message
|
 |