COLOR #21211F

HEX: #21211F
RGB: (33,33,31)

Color info

#21211F contains red, green and blue colors in about the same proportion. Web safe color of #21211F is #333333 (or #333).

RGB color model

#21211F color RGB value is (33,33,31).

  • red value is 33;
  • green value is 33;
  • blue value is 31.
RGB:
(33,33,31)
(13%,13%,12%)

RGB channels and saturation

R 33 of 255 = 13%
G 33 of 255 = 13%
B 31 of 255 = 12%

33
33
31

R + G + B ~ 13%. #21211F is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 33 + 31 = 97 (100%)
R 33 of 97 ~ 34.02%
G 33 of 97 ~ 34.02%
B 31 of 97 ~ 31.96%

%34.02
%34.02
%31.96

CMYK color model

#21211F color CMYK value is (0,0,6,87).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 6.06%
  • key color value is 87.06%
CMYK:
(0,0,6,87)
C0M0Y6K87 
(0%,0%,6%,87%)
(0.00/0.00/0.06/0.87)	

CMYK percentages

%0
%0
%6.06
%87.06

Codes

Color #21211F in popluar color models

21211F
RGB333331
HSL60°3.13%12.55%
HSB/HSV60°6.06%12.94%
CMYK0.00%0.00%6.06%
87.06%

Color #21211F in popluar number systems.

HEX21211F
Decimal333331
Binary10000110000111111
Octal414137

Shades and tints

Shades of #21211F

#21211F
(33,33,31)
#1E1E1D
(30,30,29)
#1B1B1B
(27,27,27)
#181819
(24,24,25)
#151517
(21,21,23)
#121215
(18,18,21)
#0F0F13
(15,15,19)
#0C0C11
(12,12,17)
#09090F
(9,9,15)
#06060D
(6,6,13)
#03030B
(3,3,11)
#000000
(0,0,0)

Tints of #21211F

#21211F
(33,33,31)
#353533
(53,53,51)
#494947
(73,73,71)
#5D5D5B
(93,93,91)
#71716F
(113,113,111)
#858583
(133,133,131)
#999997
(153,153,151)
#ADADAB
(173,173,171)
#C1C1BF
(193,193,191)
#D5D5D3
(213,213,211)
#E9E9E7
(233,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21211F color. Also use rgb(33,33,31) instead hex code.

Text Font Color

.myTextColor { color: #21211F; }

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

This text font color is #21211F.


Background Color

.myBgColor { background-color: #21211F; }

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

This div background color is #21211F.


Border color

.myBorderColor { border: 1px solid #21211F; }

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

This div border color is #21211F.


Opacity

.myOpacity80 { color: #21211F; opacity: 0.8; }

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

Text with #21211F 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 #21211F;}

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

This text has shadow with #21211F color.

.textShadow {text-shadow: 3px 3px 1px #21211F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #21211F;
-webkit-box-shadow: 1px 1px 3px 2px #21211F;
box-shadow:1px 1px 3px 2px #21211F;">
Div content here</div>
This div box has shadow with color #21211F.

Preview

Color preview on black background

This text has color #21211F on black background.


Color preview on white background

This text has color #21211F on white background.



Black color preview on #21211F background

This text has black color on #21211F background.


White color preview on #21211F background

This text has white color on #21211F background.