Color Palette
Primary Palette
Full Palette
Usage
Here is a color palette based on the material design base colors. Each of these colors is defined with a base color class and an optional lighten or darken class.
Color
#EB3569
#8268FC
#2196F3
#4FD0E3
#3BD2A2
#FFC53A
#E62A10
#E62A10
#9E9E9E
#607D8B
#181432
Background
.pink
.purple
.blue
.turquoise
.green
.yellow
.red
.error
.grey
.blue-grey
.rich-purple
Darken/lighten
.lighten-5*
.lighten-4*
.lighten-3*
.lighten-2*
.darken-1
.darken-2*
.darken-3*
.darken-4*
.darken-5*
.a-100*
.a-200*
.a-400*
.a-700*
Text
.text-pink
.text-purple
.text-blue
.text-turquoise
.text-green
.text-yellow
.text-red
.text-error
.text-grey
.text-blue-grey
.text-rich-purple
Darken/lighten
.text-lighten-5*
.text-lighten-4*
.text-lighten-3*
.text-lighten-2
.text-lighten-1
.text-darken-1
.text-darken-2*
.text-darken-3*
.text-darken-4*
.text-darken-5*
.text-a-100*
.text-a-200*
.text-a-400*
.text-a-700*
Border
.border-pink
.border-purple
.border-blue
.border-turquoise
.border-green
.border-yellow
.border-red
.border-error
.border-grey
.border-blue-grey
.border-rich-purple
Darken/lighten
.border-lighten-5*
.border-lighten-4*
.border-lighten-3*
.border-lighten-2*
.border-lighten-1
.border-darken-1
.border-darken-2*
.border-darken-3*
.border-darken-4*
.border-darken-5*
.border-a-100*
.border-a-200*
.border-a-400*
.border-a-700
Background Color
To apply a background color, just add the color name and light/darkness as a class to the element.
<div class="card-panel turquoise lighten-1">
This is a card panel with a turquoise lighten-2 class
</div>
Text Color
To apply a text color, just prepend text-
to the color class like this:
<div class="card-panel">
<span class="text-green text-darken-1">This is a card panel with dark green text</span>
</div>
Border Color
To apply a border color, use the .border
class and prepend border-
to the color class like this:
<div class="card-panel">
<span class="border border-blue border-lighten-1">This is a card panel with a light blue border</span>
</div>
.border-pink .border-top
.border-pink .border-right
.border-pink .border-bottom
.border-pink .border-left
.border-pink .border-top-bottom
.border-pink .border-left-right
.border-pink .border-none
<div class="card-panel">
<span class="border border-blue border-top border-lighten-1">This is a card panel with a light blue top border</span>
</div>
Sass
#EB3569
#8268FC
#2196F3
#4FD0E3
#3BD2A2
#FFC53A
#9E9E9E
#E62A10
#607D8B
#181432
$vol-pink
$vol-purple
$vol-blue
$vol-turquoise
$vol-green
$vol-yellow
$vol-grey
$vol-blue-grey
$vol-rich-purple
color("pink", "base");
color("purple", "base");
color("blue", "base");
color("turquoise", "base");
color("green", "base");
color("yellow", "base");
color("grey", "base");
color("blue-grey", "base");
color("rich-purple", "base");
lighten-5*
lighten-4*
lighten-3*
lighten-2
lighten-1
base
darken-1
darken-2*
darken-3*
darken-4*
darken-5*
a-100*
a-200*
a-400*
a-700*
To reference basic varaibles, pass in the variable name with the prefix $vol-.
.pink-text {color: $vol-pink;}
To use dynamic variables, pass in a color and a lightness or darkness amount
.dark-pink-text {color: color("pink", "darken-1");}
For background colors, you can apply the color simply by extending the classes like the example below.
.ilike-blue-container {@extend .blue, .lighten-4;}
For changing text color, you can apply the color simply by extending the classes like the example below.
.ilike-blue-container {@extend .blue-text, .text-lighten-4;