Skip to main content

Colors

FlatifyCSS comes with a set of predefined colors and color setter helper classes. This page lists all the colors that are related to FlatifyCSS.

The swatches below are the full design palette, handy when you design a page around FlatifyCSS. The framework itself uses four shades of each color, you can find them in the palette variables table.

#ffffff
#f1f4f7
#ced9e3
#aec0d0
#809cb6
#6d8dab
#547492
#415a71
#2e4051
#1e2a35
#090d10
#BFE9FC
#9EDEFB
#77d0fa
#5EC7F8
#3EBCF7
#1cb0f6
#099EE3
#1896d1
#0884BD
#0e587b
#04425E
#F2DEFF
#E5BDFF
#daa2ff
#D392FF
#CB7CFF
#c164ff
#B84DFF
#a455d9
#8846B4
#613280
#4C2765
#FFDCF2
#FFCBEB
#ffb6e3
#FFA8DD
#FF96D7
#ff86d0
#FF69C5
#d972b1
#D04D9D
#96286C
#804368
#FFCCCC
#FFB3B3
#ff9393
#FF8080
#FF6666
#ff4b4b
#FF3333
#d94040
#D62F2F
#B82424
#802626
#FFD9A4
#FFCA80
#ffc066
#FFB349
#FFA424
#ff9600
#F08C00
#d98000
#BC6E00
#9D5B00
#804b00
#FFF5B6
#FFF092
#ffeb66
#FFE749
#FFE224
#ffde00
#EDCD00
#d9bd00
#B69E00
#a69000
#806E00
#C1FE93
#A9FD68
#90FD3C
#77FD11
#62E002
#58cc02
#4bad02
#3b8901
#327401
#2c6601
#295f01

Palette variables​

Every color has four shades and each one is a CSS variable with this pattern: --flatify__color-{name}-{shade}, for example --flatify__color-red-dark. The state colors like success and danger are just aliases, so if you change the green color, success changes too.

Nameprimarylightdarkdarker
blue
#1cb0f6
#77d0fa
#1896d1
#0e587b
green
#58cc02
#9be067
#4bad02
#2c6601
yellow
#ffde00
#ffeb66
#d9bd00
#a69000
orange
#ff9600
#ffc066
#d98000
#804b00
red
#ff4b4b
#ff9393
#d94040
#802626
pink
#ff86d0
#ffb6e3
#d972b1
#804368
purple
#c164ff
#daa2ff
#a455d9
#613280
accent (blue)
#1cb0f6
#77d0fa
#1896d1
#0e587b
success (green)
#58cc02
#9be067
#4bad02
#2c6601
info (blue)
#1cb0f6
#77d0fa
#1896d1
#0e587b
warning (orange)
#ff9600
#ffc066
#d98000
#804b00
danger (red)
#ff4b4b
#ff9393
#d94040
#802626
light (background grays)
#f1f4f7
#ffffff
#ced9e3
#809cb6
dark (text colors)
#2e4051
#77838e
#1e2a35
#121a20

Base colors​

Background and text colors are separate from the palette:

CSS variableDefaultUsed for
--flatify__bg-color
#ffffff
Page background
--flatify__bg-color-dark
#f1f4f7
Default background of buttons, alerts, menus and form elements
--flatify__bg-color-darker
#ced9e3
Default border color of most components
--flatify__bg-color-darkest
#809cb6
The darkest gray, free for your own designs
--flatify__txt-color
#2e4051
Text
--flatify__txt-color-light
#77838e
Muted text
--flatify__txt-color-dark
#1e2a35
Darker text, like highlighted text
--flatify__txt-color-inverted
#ffffff
Text on colored backgrounds, like badges

Changing colors​

If you build FlatifyCSS with Sass, change the color variables in _config.scss (like $BLUE or $ACCENT_COLOR) and the light and dark shades are generated for you. With the compiled CSS, override the CSS variables instead:

style.css
:root {
--flatify__color-accent-primary: #8e44ad;
--flatify__color-accent-light: #c39bd3;
--flatify__color-accent-dark: #76369a;
--flatify__color-accent-darker: #4a235a;
}

Read more on the customization page.