Resources

Package inspiration comes from desire to generate a color scheme with minimal user input in WordPress customizer

  • http://celloexpressions.com/blog/a-strategy-for-custom-colors-in-the-customizer/

In-browser color conversion and SASS compilation

  • http://rgb.to
  • http://www.sassmeister.com/
  • http://springmeier.org/www/contrastcalculator/index.php

Similar packages/inspiration

  • https://github.com/mexitek/phpColors
  • https://github.com/spatie/color
  • https://github.com/hasbridge/php-color
  • https://github.com/PrimalPHP/Color
  • https://github.com/ProjectCleverWeb/PHP-Color

And in JS

  • http://linkbroker.hu/stuff/kolorwheel.js/
  • https://github.com/brehaut/color-js
  • https://github.com/Qix-/color
  • https://github.com/niftynei/color-wheel
  • https://github.com/carloscabo/colz

On colors, accessibility https://www.imagemagick.org/Usage/color_basics/ https://www.w3.org/TR/AERT#color-contrast

About "perceived brightness"

  • https://stackoverflow.com/questions/1855884/determine-font-color-based-on-background-color
  • https://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color
  • http://alienryderflex.com/hsp.html

On colorspace conversion, mixing colors

  • http://www.niwa.nu/2013/05/math-behind-colorspace-conversions-rgb-hsl/
  • https://stackoverflow.com/questions/398224/how-to-mix-colors-naturally-with-c