COLOR #21172F

HEX: #21172F
RGB: (33,23,47)

Color info

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

RGB color model

#21172F color RGB value is (33,23,47).

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

RGB channels and saturation

R 33 of 255 = 13%
G 23 of 255 = 9%
B 47 of 255 = 18%

33
23
47

R + G + B ~ 13%. #21172F is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 23 + 47 = 103 (100%)
R 33 of 103 ~ 32.04%
G 23 of 103 ~ 22.33%
B 47 of 103 ~ 45.63%

%32.04
%22.33
%45.63

CMYK color model

#21172F color CMYK value is (30,51,0,82).

  • cyan value is 29.79%
  • magenta value is 51.06%
  • yellow value is 0.00%
  • key color value is 81.57%
CMYK:
(30,51,0,82)
C30M51Y0K82 
(30%,51%,0%,82%)
(0.30/0.51/0.00/0.82)	

CMYK percentages

%29.79
%51.06
%0
%81.57

Codes

Color #21172F in popluar color models

21172F
RGB332347
HSL265°34.29%13.73%
HSB/HSV265°51.06%18.43%
CMYK29.79%51.06%0.00%
81.57%

Color #21172F in popluar number systems.

HEX21172F
Decimal332347
Binary10000110111101111
Octal412757

Shades and tints

Shades of #21172F

#21172F
(33,23,47)
#1E152B
(30,21,43)
#1B1327
(27,19,39)
#181123
(24,17,35)
#150F1F
(21,15,31)
#120D1B
(18,13,27)
#0F0B17
(15,11,23)
#0C0913
(12,9,19)
#09070F
(9,7,15)
#06050B
(6,5,11)
#030307
(3,3,7)
#000000
(0,0,0)

Tints of #21172F

#21172F
(33,23,47)
#352C41
(53,44,65)
#494153
(73,65,83)
#5D5665
(93,86,101)
#716B77
(113,107,119)
#858089
(133,128,137)
#99959B
(153,149,155)
#ADAAAD
(173,170,173)
#C1BFBF
(193,191,191)
#D5D4D1
(213,212,209)
#E9E9E3
(233,233,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21172F color. Also use rgb(33,23,47) instead hex code.

Text Font Color

.myTextColor { color: #21172F; }

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

This text font color is #21172F.


Background Color

.myBgColor { background-color: #21172F; }

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

This div background color is #21172F.


Border color

.myBorderColor { border: 1px solid #21172F; }

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

This div border color is #21172F.


Opacity

.myOpacity80 { color: #21172F; opacity: 0.8; }

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

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

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

This text has shadow with #21172F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #21172F on black background.


Color preview on white background

This text has color #21172F on white background.



Black color preview on #21172F background

This text has black color on #21172F background.


White color preview on #21172F background

This text has white color on #21172F background.