COLOR #172F21

HEX: #172F21
RGB: (23,47,33)

Color info

#172F21 contains red, green and blue colors in about the same proportion. Web safe color of #172F21 is #003333 (or #033).

RGB color model

#172F21 color RGB value is (23,47,33).

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

RGB channels and saturation

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

23
47
33

R + G + B ~ 13%. #172F21 is dark color.

Portions of RGB colors in percentages

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

%22.33
%45.63
%32.04

CMYK color model

#172F21 color CMYK value is (51,0,30,82).

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

CMYK percentages

%51.06
%0
%29.79
%81.57

Codes

Color #172F21 in popluar color models

172F21
RGB234733
HSL145°34.29%13.73%
HSB/HSV145°51.06%18.43%
CMYK51.06%0.00%29.79%
81.57%

Color #172F21 in popluar number systems.

HEX172F21
Decimal234733
Binary10111101111100001
Octal275741

Shades and tints

Shades of #172F21

#172F21
(23,47,33)
#152B1E
(21,43,30)
#13271B
(19,39,27)
#112318
(17,35,24)
#0F1F15
(15,31,21)
#0D1B12
(13,27,18)
#0B170F
(11,23,15)
#09130C
(9,19,12)
#070F09
(7,15,9)
#050B06
(5,11,6)
#030703
(3,7,3)
#000000
(0,0,0)

Tints of #172F21

#172F21
(23,47,33)
#2C4135
(44,65,53)
#415349
(65,83,73)
#56655D
(86,101,93)
#6B7771
(107,119,113)
#808985
(128,137,133)
#959B99
(149,155,153)
#AAADAD
(170,173,173)
#BFBFC1
(191,191,193)
#D4D1D5
(212,209,213)
#E9E3E9
(233,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172F21; }

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

This text font color is #172F21.


Background Color

.myBgColor { background-color: #172F21; }

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

This div background color is #172F21.


Border color

.myBorderColor { border: 1px solid #172F21; }

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

This div border color is #172F21.


Opacity

.myOpacity80 { color: #172F21; opacity: 0.8; }

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

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

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

This text has shadow with #172F21 color.

.textShadow {text-shadow: 3px 3px 1px #172F21, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172F21 on black background.


Color preview on white background

This text has color #172F21 on white background.



Black color preview on #172F21 background

This text has black color on #172F21 background.


White color preview on #172F21 background

This text has white color on #172F21 background.