halostatue / color

Color tools for Ruby.
Other
133 stars 41 forks source link

Averaging a list of colors #20

Open sam0x17 opened 9 years ago

sam0x17 commented 9 years ago

I noticed there is a mix_with method for rgb, hsl, etc, but I was wondering how I would go about averaging a list of hsl or rgb colors to find the average color?

Thanks!