Plugin jQuery: iWantHue : Generate palettes of Colors

iWantHue : Generate palettes of Colors
http://www.jqueryrain.com/?http://tools.medialab.sciences-po.fr/iwanthue/
https://github.com/medialab/iwanthue
25/10/2013

Nội dung

iWantHue : Generate palettes of colors

iWantHue allows you to generate palettes of colors. It is about mastering the properties of a palette by setting a range of Hue, Chroma (unbiased saturation) and Lightness. You can generate palettes of any size or just get the generator for a javascript project. The algorithm optimizes the perceptive distance in the color subspace, ensuring an optimal readability.

How it works:

  1. K-means or force vector repulsion algorithms ensure an even distribution of colors
  2. The CIE Lab color space is used for computation, since it fits human perception
  3. The Hue/Chroma/Lightness color space is used to set constraints, since it is user-friendly

Nguồn: www.jqueryrain.com/2013/10/iwanthue-generate-palettes-colors/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận