mifuyne@beehaw.orgMtoProgramming@beehaw.org•[CSS] how do I calculate the subtraction of two color?
2·
1 year agoI don’t know how exact the values need to be, but optically, the closest I could get to --result
is with these values, still using color-mix:
color-mix(in srgb, #02C390, 79% #31363B)
It came out as #27544D
To be fair, my monitors are not colour calibrated so it might not even look like that on your screen or anyone else’s.
If you don’t mind me asking, how did you arrive at --result
’s value?
This reminds me of REXPaint.
It looks pretty neat though, and a good examples of what Textual is capable of. Gonna give it a spin later today.
Thanks for sharing!