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

Multiple manipulations at once? #9

Closed svgeesus closed 2 years ago

svgeesus commented 3 years ago

Should we support multiple manipulations via an object? Order matters though, and it’s a bit of an antipattern to have an object parameter and depend on its property order.

Or should this be done using chaining, so order is clear and explicit?

LeaVerou commented 2 years ago

Closing as with the new signature it's already possible to do multiple manipulations (within the same color space).