タグ

ブックマーク / iro.js.org (1)

  • iro.js

    Work with colors in hex, RGB, HSV and HSL formats (plus kelvin temperatures!) in one simple, frictionless API. // Get the color as an RGB string var rgb = colorPicker.color.rgbString; // rgb = "" // Get the color as a HSV object var hsv = colorPicker.color.hsv; // hsv = { h: 0, s: 0, v: 0 } // Set the color from a hex string colorPicker.color.hexString = "#fff"; // Set the color from a temperature

    iro.js
  • 1