Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SASSy Style Tiles: Understanding color models for theming

Allan White
September 13, 2013

SASSy Style Tiles: Understanding color models for theming

Here's a quick look at a history of color, a prototype template for managing color themes with Sass and Zurb Foundation 4; and a look forward to more sophisticated, robust style tile theming.

You can watch the full video with slides here:
http://allanwhite.tumblr.com/post/61134916482/sassy-style-tiles-understanding-color-models-for

Allan White

September 13, 2013
Tweet

Other Decks in Programming

Transcript

  1. I have “bent” the axis of the split compliment to

    bring it closer to the Munsell model.
  2. These variations are all accomplished by changing only two* color

    variables: *one of which could be automated!
  3. Sass color functions adjust-hue(#cc3, 20deg) => #9c3 saturate(#cc3, 10%) =>

    #d9d926 desaturate(#cc3, 10%) => #bfbf40 lighten(#cc3, 10%) => #d6d65c darken(#cc3, 10%) => #a3a32
  4. adjust-color() adjust-color(#102030, $blue: 5) => #102035 adjust-color(#102030, $red: -5, $blue:

    5) => #0b2035 adjust-color(hsl(25, 100%, 80%), $lightness: -30%, $alpha: -0.4) => hsla(25, 100%, 50%, 0.6)