Sha256: b5ee4a586796e4e04f390f28016eab70faf15e1ad36a2866aa7fbccdbe3dcd54
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
// In theory the lightness and saturation values of corresponding colors should not change. // In reality, these values should be adjusted to create a more pleasant color combination. // There is not any mathematical formula for this, but you can use the lighten, darken, // saturate and desaturate functions to adjust your main colors. !base_color = red !complementary_color = complement(!base_color) !base_dark_color = darken(!base_color, 50) !base_darker_color = darken(!base_color, 70) !base_darkest_color = darken(!base_color, 90) !base_light_color = lighten(!base_color, 50) !base_lighter_color = lighten(!base_color, 70) !base_lightest_color = lighten(!base_color, 90) !dark_complementary_color = darken(!complementary_color, 50) !darker_complementary_color = darken(!complementary_color, 70) !darkest_complementary_color = darken(!complementary_color, 90) !light_complementary_color = lighten(!complementary_color, 50) !lighter_complementary_color = lighten(!complementary_color, 70) !lightest_complementary_color = lighten(!complementary_color, 90)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chriseppstein-compass-colors-0.1.1 | templates/complementary/_theme.sass |
chriseppstein-compass-colors-0.1.3 | templates/complementary/_theme.sass |