paint-by-numbers

Relaxing paint-by-numbers game  https://p.ce9e.org/paint-by-numbers/
git clone https://git.ce9e.org/paint-by-numbers.git

commit
76d3b8809c6cf3828c031be9c28e325f26b88850
parent
fcb9c993c32c78f9683ae164c23ab91737e056f5
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-08-11 06:46
link to OKLab spec

Diffstat

M js/color.js 2 ++

1 files changed, 2 insertions, 0 deletions


diff --git a/js/color.js b/js/color.js

@@ -1,3 +1,5 @@
   -1     1 // https://bottosson.github.io/posts/oklab/
   -1     2 
    1     3 var srgbToRgb = function(c) {
    2     4     var x = c / 255;
    3     5     if (x < 0.04045) {