There are several colord plugins that extend colord for additional color formats. These plugins are available
as wildcard imports from this sub-path export. It is worth mentioning that colord does not provide accurate support
for advanced color formats as the intermediary internal format is RGBA and a loss of precision occurs internally.
Note: For the time being colord provides the best API / support for working with color with Javascript. It
however may not be the long term solution for TRL.
Documentation: https://github.com/omgovich/colord#plugins
There are several
colord
plugins that extendcolord
for additional color formats. These plugins are available as wildcard imports from this sub-path export. It is worth mentioning thatcolord
does not provide accurate support for advanced color formats as the intermediary internal format isRGBA
and a loss of precision occurs internally.Note: For the time being
colord
provides the best API / support for working with color with Javascript. It however may not be the long term solution for TRL.To extend
colord
with a particular plugin:Example