COLOR #213040

HEX: #213040 RGB: (33,48,64)

Color info

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

RGB color model

#213040 color RGB value is (33,48,64).

RGB: (33,48,64) (13%, 19%, 25%)

RGB channels and saturation

R 33 of 255 = 13%
G 48 of 255 = 19%
B 64 of 255 = 25%

33
48
64

R + G + B ~ 19%. #213040 is dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 48 + 64 = 145 (100%)
R 33 of 145 ~ 22.76%
G 48 of 145 ~ 33.1%
B 64 of 145 ~ 44.14'%

%22.76
%33.1
%44.14

CMYK color model

#213040 color CMYK value is (48,25,0,75).

  • cyan value is 48.44%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK: (48,25,0,75) C48M25Y0K75 (48%,25%,0%,75%) (0.48/0.25/0.00/0.75) 

CMYK percentages

%48.44
%25
%0
%74.9

Codes

Color #213040 in popluar color models

21 30 40
RGB 33 48 64
HSL 211° 31.96% 19.02%
HSB/HSV 211° 48.44% 25.10%
CMYK 48.44% 25.00% 0.00%
74.90%

Color #213040 in popluar number systems.

HEX 21 30 40
Decimal 33 48 64
Binary 100001 110000 1000000
Octal 41 60 100

Shades and tints

Shades of #213040

#213040
(33,48,64)
#1E2C3B
(30,44,59)
#1B2836
(27,40,54)
#182431
(24,36,49)
#15202C
(21,32,44)
#121C27
(18,28,39)
#0F1822
(15,24,34)
#0C141D
(12,20,29)
#091018
(9,16,24)
#060C13
(6,12,19)
#03080E
(3,8,14)
#000000
(0,0,0)

Tints of #213040

#213040
(33,48,64)
#354251
(53,66,81)
#495462
(73,84,98)
#5D6673
(93,102,115)
#717884
(113,120,132)
#858A95
(133,138,149)
#999CA6
(153,156,166)
#ADAEB7
(173,174,183)
#C1C0C8
(193,192,200)
#D5D2D9
(213,210,217)
#E9E4EA
(233,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #213040; }

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

This text font color is #213040.

Background Color

.myBgColor { background-color: #213040; }

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

This div background color is #213040.

Border color

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

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

This div border color is #213040.

Opacity

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

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

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

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

This text has shadow with #213040 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #213040.

Preview

Color preview on black background

This text has color #213040 on black background.


Color preview on white background

This text has color #213040 on white background.


Black color preview on #213040 background

This text has black color on #213040 background.


White color preview on #213040 background

This text has white color on #213040 background.


Related colors

Complementary color

Complementary color for #hex is #DECFBF.


I love getcolorcode.com

Triadic colors

1 #402130 and #304021 with #213040 are triadic colors.

2 #403021 and #302140 with #213040 are triadic colors.