Show HN: Dimidium – Crafting Terminal color scheme with color science
11 points| dofuuz | 1 year ago |github.com
Crafted with Color Appearance Model, it considers the perceptual aspects(lightness, hue) of human color vision.
It aims to be a decent default for terminals.
Preview, Download: https://github.com/dofuuz/dimidium
Detailed explaination how I made the color scheme: https://dofuuz.github.io/color/2024/03/17/dimidium-terminal-...
The code used to make color scheme is also present in the repository.
suzumer|1 year ago
You should probably just convert straight from XYZ to JCh, without using the UCS.
dofuuz|1 year ago
Is that why CAM16 JMh exists?
Anyway, Jab_to_JCh is just used to convert cartesian to cylindrical. Not to get actual J, C, h value. Relative position on the CAM16-UCS's a-b plane is what I want to get. So, I think it's fine for the purpose.
(I don't want to use CIELAB because its hue prediction is bad, especially reddish blue.)