COLOR #21315D

HEX: #21315D RGB: (33,49,93)

Color info

#21315D contains mainly green and blue colors. Web safe color of #21315D is #333366 (or #336).

RGB color model

#21315D color RGB value is (33,49,93).

RGB: (33,49,93) (13%, 19%, 36%)

RGB channels and saturation

R 33 of 255 = 13%
G 49 of 255 = 19%
B 93 of 255 = 36%

33
49
93

R + G + B ~ 23%. #21315D is dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 49 + 93 = 175 (100%)
R 33 of 175 ~ 18.86%
G 49 of 175 ~ 28%
B 93 of 175 ~ 53.14'%

%18.86
%28
%53.14

CMYK color model

#21315D color CMYK value is (65,47,0,64).

  • cyan value is 64.52%
  • magenta value is 47.31%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK: (65,47,0,64) C65M47Y0K64 (65%,47%,0%,64%) (0.65/0.47/0.00/0.64) 

CMYK percentages

%64.52
%47.31
%0
%63.53

Codes

Color #21315D in popluar color models

21 31 5D
RGB 33 49 93
HSL 224° 47.62% 24.71%
HSB/HSV 224° 64.52% 36.47%
CMYK 64.52% 47.31% 0.00%
63.53%

Color #21315D in popluar number systems.

HEX 21 31 5D
Decimal 33 49 93
Binary 100001 110001 1011101
Octal 41 61 135

Shades and tints

Shades of #21315D

#21315D
(33,49,93)
#1E2D55
(30,45,85)
#1B294D
(27,41,77)
#182545
(24,37,69)
#15213D
(21,33,61)
#121D35
(18,29,53)
#0F192D
(15,25,45)
#0C1525
(12,21,37)
#09111D
(9,17,29)
#060D15
(6,13,21)
#03090D
(3,9,13)
#000000
(0,0,0)

Tints of #21315D

#21315D
(33,49,93)
#35436B
(53,67,107)
#495579
(73,85,121)
#5D6787
(93,103,135)
#717995
(113,121,149)
#858BA3
(133,139,163)
#999DB1
(153,157,177)
#ADAFBF
(173,175,191)
#C1C1CD
(193,193,205)
#D5D3DB
(213,211,219)
#E9E5E9
(233,229,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21315D color. Also use rgb(33,49,93) instead hex code.

Text Font Color

.myTextColor { color: #21315D; }

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

This text font color is #21315D.

Background Color

.myBgColor { background-color: #21315D; }

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

This div background color is #21315D.

Border color

.myBorderColor { border: 1px solid #21315D; }

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

This div border color is #21315D.

Opacity

.myOpacity80 { color: #21315D; opacity: 0.8; }

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

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

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

This text has shadow with #21315D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21315D.

Preview

Color preview on black background

This text has color #21315D on black background.


Color preview on white background

This text has color #21315D on white background.


Black color preview on #21315D background

This text has black color on #21315D background.


White color preview on #21315D background

This text has white color on #21315D background.


Related colors

Complementary color

Complementary color for #hex is #DECEA2.


I love getcolorcode.com

Triadic colors

1 #5D2131 and #315D21 with #21315D are triadic colors.

2 #5D3121 and #31215D with #21315D are triadic colors.