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.
This used to be called ColorSpace.load(), however since it's a factory method, it's good practice to start with from, for consistency. Right now I've named it fromICCProfile() though that's quite a mouthful. Maybe fromProfile() would be better? or fromFile()? Or maybe just from() and redesign its signature to take a dictionary with the ICC profile as a key?
This used to be called
ColorSpace.load()
, however since it's a factory method, it's good practice to start withfrom
, for consistency. Right now I've named itfromICCProfile()
though that's quite a mouthful. MaybefromProfile()
would be better? orfromFile()
? Or maybe justfrom()
and redesign its signature to take a dictionary with the ICC profile as a key?