COLOR #212F51

HEX: #212F51
RGB: (33,47,81)

Color info

#212F51 contains red, green and blue colors in about the same proportion. Web safe color of #212F51 is #333366 (or #336).

RGB color model

#212F51 color RGB value is (33,47,81).

  • red value is 33;
  • green value is 47;
  • blue value is 81.
RGB:
(33,47,81)
(13%,18%,32%)

RGB channels and saturation

R 33 of 255 = 13%
G 47 of 255 = 18%
B 81 of 255 = 32%

33
47
81

R + G + B ~ 21%. #212F51 is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 47 + 81 = 161 (100%)
R 33 of 161 ~ 20.5%
G 47 of 161 ~ 29.19%
B 81 of 161 ~ 50.31%

%20.5
%29.19
%50.31

CMYK color model

#212F51 color CMYK value is (59,42,0,68).

  • cyan value is 59.26%
  • magenta value is 41.98%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(59,42,0,68)
C59M42Y0K68 
(59%,42%,0%,68%)
(0.59/0.42/0.00/0.68)	

CMYK percentages

%59.26
%41.98
%0
%68.24

Codes

Color #212F51 in popluar color models

212F51
RGB334781
HSL223°42.11%22.35%
HSB/HSV223°59.26%31.76%
CMYK59.26%41.98%0.00%
68.24%

Color #212F51 in popluar number systems.

HEX212F51
Decimal334781
Binary1000011011111010001
Octal4157121

Shades and tints

Shades of #212F51

#212F51
(33,47,81)
#1E2B4A
(30,43,74)
#1B2743
(27,39,67)
#18233C
(24,35,60)
#151F35
(21,31,53)
#121B2E
(18,27,46)
#0F1727
(15,23,39)
#0C1320
(12,19,32)
#090F19
(9,15,25)
#060B12
(6,11,18)
#03070B
(3,7,11)
#000000
(0,0,0)

Tints of #212F51

#212F51
(33,47,81)
#354160
(53,65,96)
#49536F
(73,83,111)
#5D657E
(93,101,126)
#71778D
(113,119,141)
#85899C
(133,137,156)
#999BAB
(153,155,171)
#ADADBA
(173,173,186)
#C1BFC9
(193,191,201)
#D5D1D8
(213,209,216)
#E9E3E7
(233,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #212F51 color. Also use rgb(33,47,81) instead hex code.

Text Font Color

.myTextColor { color: #212F51; }

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

This text font color is #212F51.


Background Color

.myBgColor { background-color: #212F51; }

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

This div background color is #212F51.


Border color

.myBorderColor { border: 1px solid #212F51; }

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

This div border color is #212F51.


Opacity

.myOpacity80 { color: #212F51; opacity: 0.8; }

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

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

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

This text has shadow with #212F51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #212F51 on black background.


Color preview on white background

This text has color #212F51 on white background.



Black color preview on #212F51 background

This text has black color on #212F51 background.


White color preview on #212F51 background

This text has white color on #212F51 background.