mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-31 05:46:46 -06:00
The picker's model menu offers LCH and OKLCH beside Hex, RGB, HSL, HSB and CSS, on desktop and web. Lightness, chroma and hue fields; an edit outside sRGB lowers chroma and keeps lightness and hue (CSS gamut mapping). The CSS field and Color::parse_css read lch() and oklch().
17 lines
397 B
TOML
17 lines
397 B
TOML
[package]
|
|
name = "figcraft-color"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "FigCraft colour and paint: RGBA colours, HSB/HSL/LCH/OKLCH, hex/CSS parsing, solid/gradient/image paints, blend modes"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json = { workspace = true }
|