Oklch color space. Are you ready to jump in?
I have been creating a skin which randomly changes color by using HSL color space. Then I noticed, "Blue looks too dark!"
So I decided to use Oklch color space and started to write a Lua script that handles the color space.
Oklch was proposed by Björn Ottosson in 2020 and included in CSS specifications in 2021. All of major web browsers already support it. The color space takes into account how color is seen by human eyes and is designed to ensure perceptual uniformity. I believe that it is the most advanced color space available now.
You might want to visit Ottosson's web page if you get interested in more details about Oklch. There are also many other web sites explaining the strengths and advantages of the color space. You can find them by googling Oklch.
After tackling a series of bugs and mysterious phenomena, I think I finally finished the job. So I want to share the code with you all in this community. I also need to enlist your cooperation to detect bugs that might be lurking in the code.
How to use the skin
Download:
Statistics: Posted by PineYellow — Yesterday, 5:29 pm — Replies 1 — Views 43