@oddbird/blend
Advanced tools
Changelog
v0.2.4 - 2022.12.14
Changelog
v0.2.3 - 2021.09.18
math.div()
in place of
slash as divisionChangelog
v0.2.2 - 2020.06.30
Changelog
v0.2.1 - 2020.05.28
Changelog
v0.2.0 - 2020.05.27
lch()
hue channel accepts any angle unit
(e.g. turn
, rad
, grad
, or deg
)lab($lab, $a)
returns an (sRGB) Sass colorlightness()
a()
and b()
chroma()
and hue()
contrast()
selects the best contrast from a listset()
to replace a channel valueadjust()
to add or subtract from a channelscale()
to scale fluidly towards one "end" of the channel rangefrom()
converts a Sass color to LCH
in order to adjust CIE lightness, chroma, and hue --
using a syntax roughly based on
[CSS Colors Level 5 relative syntax][relative]