WICG / color-api

A proposal and draft spec for a Color object for the Web Platform, loosely influenced by the Color.js work. Heavily WIP, if you landed here randomly, please move along.
https://wicg.github.io/color-api/
Other
130 stars 3 forks source link

How do gamut ranges interact with `ColorSpace#inGamut()`? #29

Open LeaVerou opened 1 year ago

LeaVerou commented 1 year ago

In #4, we changed the color space coords to specify metadata instead of just a list of names. One piece of this metadata is a gamut range, through min and max properties.

However, color spaces also have an inGamut() method. How do these interact?