tylerreisinger / prisma

A powerful color representation, manipulation and conversion library that aims to be easy to use.
MIT License
21 stars 5 forks source link

Implement a mean computation for all relevant colors #7

Open tylerreisinger opened 5 years ago

tylerreisinger commented 5 years ago

The mean of Rgb is a very simple process, but the mean of polar colors is a bit more involved, as is the mean of xyY. It would be nice to have a trait to allow means to be computed from an iterator of color values.