Sha256: f5175289fcdd5dc1655da154dc9b484a766fc8983839572b30be5dce2748e0b6
Contents?: true
Size: 1.62 KB
Versions: 21
Compression:
Stored size: 1.62 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 !complement_support_color = adjust_hue(!base_color, 180 + 30) !complement_accent_color = adjust_hue(!base_color, 180 - 30) !base_dark_color = darken(!base_color, 25) !base_darker_color = darken(!base_color, 50) !base_darkest_color = darken(!base_color, 75) !base_light_color = lighten(!base_color, 25) !base_lighter_color = lighten(!base_color, 50) !base_lightest_color = lighten(!base_color, 75) !dark_complement_support_color = darken(!complement_support_color, 25) !darker_complement_support_color = darken(!complement_support_color, 50) !darkest_complement_support_color = darken(!complement_support_color, 75) !light_complement_support_color = lighten(!complement_support_color, 25) !lighter_complement_support_color = lighten(!complement_support_color, 50) !lightest_complement_support_color = lighten(!complement_support_color, 75) !dark_complement_accent_color = darken(!complement_accent_color, 25) !darker_complement_accent_color = darken(!complement_accent_color, 50) !darkest_complement_accent_color = darken(!complement_accent_color, 75) !light_complement_accent_color = lighten(!complement_accent_color, 25) !lighter_complement_accent_color = lighten(!complement_accent_color, 50) !lightest_complement_accent_color = lighten(!complement_accent_color, 75)
Version data entries
21 entries across 18 versions & 4 rubygems