COLOR #212828

HEX: #212828
RGB: (33,40,40)

Color info

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

RGB color model

#212828 color RGB value is (33,40,40).

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

RGB channels and saturation

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

33
40
40

R + G + B ~ 15%. #212828 is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 40 + 40 = 113 (100%)
R 33 of 113 ~ 29.2%
G 40 of 113 ~ 35.4%
B 40 of 113 ~ 35.4%

%29.2
%35.4
%35.4

CMYK color model

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

  • cyan value is 17.50%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(18,0,0,84)
C18M0Y0K84 
(18%,0%,0%,84%)
(0.18/0.00/0.00/0.84)	

CMYK percentages

%17.5
%0
%0
%84.31

Codes

Color #212828 in popluar color models

212828
RGB334040
HSL180°9.59%14.31%
HSB/HSV180°17.50%15.69%
CMYK17.50%0.00%0.00%
84.31%

Color #212828 in popluar number systems.

HEX212828
Decimal334040
Binary100001101000101000
Octal415050

Shades and tints

Shades of #212828

#212828
(33,40,40)
#1E2525
(30,37,37)
#1B2222
(27,34,34)
#181F1F
(24,31,31)
#151C1C
(21,28,28)
#121919
(18,25,25)
#0F1616
(15,22,22)
#0C1313
(12,19,19)
#091010
(9,16,16)
#060D0D
(6,13,13)
#030A0A
(3,10,10)
#000000
(0,0,0)

Tints of #212828

#212828
(33,40,40)
#353B3B
(53,59,59)
#494E4E
(73,78,78)
#5D6161
(93,97,97)
#717474
(113,116,116)
#858787
(133,135,135)
#999A9A
(153,154,154)
#ADADAD
(173,173,173)
#C1C0C0
(193,192,192)
#D5D3D3
(213,211,211)
#E9E6E6
(233,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #212828; }

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

This text font color is #212828.


Background Color

.myBgColor { background-color: #212828; }

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

This div background color is #212828.


Border color

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

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

This div border color is #212828.


Opacity

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

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

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

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

This text has shadow with #212828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #212828 on black background.


Color preview on white background

This text has color #212828 on white background.



Black color preview on #212828 background

This text has black color on #212828 background.


White color preview on #212828 background

This text has white color on #212828 background.