Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Playground/Playground.Wasm/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p class="info">Chroma is maximized</p>
<ColorPlot
Resolution="200"
Func="@((x, y) => Hct.From(x, 100, y).ToInt())"
Func="@((x, y) => Hct.From(x, 115, y).ToInt())"
FuncInverse="@(color => { Hct hct = Hct.FromInt(color); return (hct.Hue, hct.Tone); })"
LabelX="Hue"
LabelY="Tone"
Expand All @@ -43,7 +43,7 @@
<p class="info">Chroma is maximized</p>
<ColorPlot
Resolution="200"
Func="@((x, y) => Cam16.FromJch(y, 100, x).ToInt())"
Func="@((x, y) => Cam16.FromJch(y, 115, x).ToInt())"
FuncInverse="@(color => { Cam16 cam16 = Cam16.FromInt(color); return (cam16.Hue, cam16.J); })"
LabelX="h"
LabelY="J"
Expand Down Expand Up @@ -127,4 +127,4 @@
return (okhsl.h, okhsl.l);
}

}
}
Loading