color-sass

3.0.0 • Public • Published

Color

Sweet color library

Functions

layer($above, $below)

This function outputs the resulting visible color from two colors as if they were layered on top of each other in Photoshop or in-browser. This function differs from mix() because the resulting color is not an average of both colors.

tint($above, $below, $alpha: 0)

This function is a shortcut that uses layer() and strips away any alpha from $above, but has the option to redefine it with the $alpha argument.

Todo

  • Ability to pass a list of colors to layer().

Readme

Keywords

Package Sidebar

Install

npm i color-sass

Weekly Downloads

1

Version

3.0.0

License

MIT

Last publish

Collaborators

  • dustin-archive