COLOR #212812

HEX: #212812 RGB: (33,40,18)

Color info

#212812 contains red, green and blue colors in about the same proportion. Web safe color of #212812 is #333300 (or #330).

RGB color model

#212812 color RGB value is (33,40,18).

RGB: (33,40,18) (13%, 16%, 7%)

RGB channels and saturation

R 33 of 255 = 13%
G 40 of 255 = 16%
B 18 of 255 = 7%

33
40
18

R + G + B ~ 12%. #212812 is dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 40 + 18 = 91 (100%)
R 33 of 91 ~ 36.26%
G 40 of 91 ~ 43.96%
B 18 of 91 ~ 19.78'%

%36.26
%43.96
%19.78

CMYK color model

#212812 color CMYK value is (18,0,55,84).

  • cyan value is 17.50%
  • magenta value is 0.00%
  • yellow value is 55.00%
  • key color value is 84.31%

CMYK: (18,0,55,84)
C18M0Y55K84 (18%, 0%, 55%, 84%)
(0.18 / 0.00 / 0.55 / 0.84)

CMYK percentages

%17.5
%0
%55
%84.31

Codes

Color #212812 in popluar color models

21 28 12
RGB 33 40 18
HSL 79° 37.93% 11.37%
HSB/HSV 79° 55.00% 15.69%
CMYK 17.50% 0.00% 55.00%
84.31%

Color #212812 in popluar number systems.

HEX 21 28 12
Decimal 33 40 18
Binary 100001 101000 10010
Octal 41 50 22

Shades and tints

Shades of #212812

#212812
(33,40,18)
#1E2511
(30,37,17)
#1B2210
(27,34,16)
#181F0F
(24,31,15)
#151C0E
(21,28,14)
#12190D
(18,25,13)
#0F160C
(15,22,12)
#0C130B
(12,19,11)
#09100A
(9,16,10)
#060D09
(6,13,9)
#030A08
(3,10,8)
#000000
(0,0,0)

Tints of #212812

#212812
(33,40,18)
#353B27
(53,59,39)
#494E3C
(73,78,60)
#5D6151
(93,97,81)
#717466
(113,116,102)
#85877B
(133,135,123)
#999A90
(153,154,144)
#ADADA5
(173,173,165)
#C1C0BA
(193,192,186)
#D5D3CF
(213,211,207)
#E9E6E4
(233,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #212812 color. Also use rgb(33,40,18) instead hex code.

Text Font Color

.myTextColor { color: #212812; }

<p style="color:#212812">This sample text font color is #212812.</p>

This text font color is #212812.

Background Color

.myBgColor { background-color: #212812; }

<div style="background-color:#212812">Inner text</div>

This div background color is #212812.

Border color

.myBorderColor { border: 1px solid #212812; }

<div style="border:3px solid #212812">Div</div>

This div border color is #212812.

Opacity

.myOpacity80 { color: #212812; opacity: 0.8; }

<p style="color:#212812;opacity:0.8;">80%</p>

Text with #212812 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #212812;}

<p style="text-shadow: 3px 3px 1px #212812">Text here.</p>

This text has shadow with #212812 color.


.textShadow {text-shadow: 3px 3px 1px #212812', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #212812, 5px 5px 20px red">Text here.</p>

This text has shadow with #212812 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#212812, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#212812, Direction=45, Strength=4)">Text</p>

This text has shadow with #212812 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #212812;
-webkit-box-shadow: 1px 1px 3px 2px #212812;
box-shadow: 1px 1px 3px 2px #212812;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #212812; -webkit-box-shadow: 1px 1px 3px 2px #212812; box-shadow:1px 1px 3px 2px #212812;">
Div content here
</div>

This div box has shadow with color #212812.

Preview

Color preview on black background

This text has color #212812 on black background.


Color preview on white background

This text has color #212812 on white background.


Black color preview on #212812 background

This text has black color on #212812 background.


White color preview on #212812 background

This text has white color on #212812 background.


Related colors

Complementary color

Complementary color for #hex is #DED7ED.


I love getcolorcode.com

Triadic colors

1 #122128 and #281221 with #212812 are triadic colors.

2 #122821 and #282112 with #212812 are triadic colors.