Skip to content

Commit 79587c0

Browse files
committed
[css-color-4] update blendmaker samples
1 parent ac71b5c commit 79587c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css-color-4/workings/blendmaker2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
for (let i = start * scale; i > -1; i--) {
1919
color.chroma = i/scale;
20-
console.log(color.to("srgb").coords);
20+
console.log(i, color.to("srgb").coords);
2121
if (color.inGamut("srgb")) {
2222
fill = color.to("srgb");
2323
} else {

css-color-4/workings/blendmakerok2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
for (let i = start * scale; i > -1; i--) {
2121
color.oklch.chroma = i/scale;
22-
console.log(color.to("srgb").coords);
22+
console.log(i, color.to("srgb").coords);
2323
if (color.inGamut("srgb")) {
2424
fill = color.to("srgb");
2525
} else {

0 commit comments

Comments
 (0)