COLOR #21174D

HEX: #21174D RGB: (33,23,77)

Color info

#21174D contains red, green and blue colors in about the same proportion. Web safe color of #21174D is #330033 (or #303).

RGB color model

#21174D color RGB value is (33,23,77).

RGB: (33,23,77) (13%, 9%, 30%)

RGB channels and saturation

R 33 of 255 = 13%
G 23 of 255 = 9%
B 77 of 255 = 30%

33
23
77

R + G + B ~ 17%. #21174D is dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 23 + 77 = 133 (100%)
R 33 of 133 ~ 24.81%
G 23 of 133 ~ 17.29%
B 77 of 133 ~ 57.89'%

%24.81
%17.29
%57.89

CMYK color model

#21174D color CMYK value is (57,70,0,70).

  • cyan value is 57.14%
  • magenta value is 70.13%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK: (57,70,0,70) C57M70Y0K70 (57%,70%,0%,70%) (0.57/0.70/0.00/0.70) 

CMYK percentages

%57.14
%70.13
%0
%69.8

Codes

Color #21174D in popluar color models

21 17 4D
RGB 33 23 77
HSL 251° 54.00% 19.61%
HSB/HSV 251° 70.13% 30.20%
CMYK 57.14% 70.13% 0.00%
69.80%

Color #21174D in popluar number systems.

HEX 21 17 4D
Decimal 33 23 77
Binary 100001 10111 1001101
Octal 41 27 115

Shades and tints

Shades of #21174D

#21174D
(33,23,77)
#1E1546
(30,21,70)
#1B133F
(27,19,63)
#181138
(24,17,56)
#150F31
(21,15,49)
#120D2A
(18,13,42)
#0F0B23
(15,11,35)
#0C091C
(12,9,28)
#090715
(9,7,21)
#06050E
(6,5,14)
#030307
(3,3,7)
#000000
(0,0,0)

Tints of #21174D

#21174D
(33,23,77)
#352C5D
(53,44,93)
#49416D
(73,65,109)
#5D567D
(93,86,125)
#716B8D
(113,107,141)
#85809D
(133,128,157)
#9995AD
(153,149,173)
#ADAABD
(173,170,189)
#C1BFCD
(193,191,205)
#D5D4DD
(213,212,221)
#E9E9ED
(233,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21174D color. Also use rgb(33,23,77) instead hex code.

Text Font Color

.myTextColor { color: #21174D; }

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

This text font color is #21174D.

Background Color

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

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

This div background color is #21174D.

Border color

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

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

This div border color is #21174D.

Opacity

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

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

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

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

This text has shadow with #21174D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #21174D.

Preview

Color preview on black background

This text has color #21174D on black background.


Color preview on white background

This text has color #21174D on white background.


Black color preview on #21174D background

This text has black color on #21174D background.


White color preview on #21174D background

This text has white color on #21174D background.


Related colors

Complementary color

Complementary color for #hex is #DEE8B2.


I love getcolorcode.com

Triadic colors

1 #4D2117 and #174D21 with #21174D are triadic colors.

2 #4D1721 and #17214D with #21174D are triadic colors.