COLOR #172A21

HEX: #172A21
RGB: (23,42,33)

Color info

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

RGB color model

#172A21 color RGB value is (23,42,33).

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

RGB channels and saturation

R 23 of 255 = 9%
G 42 of 255 = 16%
B 33 of 255 = 13%

23
42
33

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

Portions of RGB colors in percentages

R + G + B =
23 + 42 + 33 = 98 (100%)
R 23 of 98 ~ 23.47%
G 42 of 98 ~ 42.86%
B 33 of 98 ~ 33.67%

%23.47
%42.86
%33.67

CMYK color model

#172A21 color CMYK value is (45,0,21,84).

  • cyan value is 45.24%
  • magenta value is 0.00%
  • yellow value is 21.43%
  • key color value is 83.53%
CMYK:
(45,0,21,84)
C45M0Y21K84 
(45%,0%,21%,84%)
(0.45/0.00/0.21/0.84)	

CMYK percentages

%45.24
%0
%21.43
%83.53

Codes

Color #172A21 in popluar color models

172A21
RGB234233
HSL152°29.23%12.75%
HSB/HSV152°45.24%16.47%
CMYK45.24%0.00%21.43%
83.53%

Color #172A21 in popluar number systems.

HEX172A21
Decimal234233
Binary10111101010100001
Octal275241

Shades and tints

Shades of #172A21

#172A21
(23,42,33)
#15271E
(21,39,30)
#13241B
(19,36,27)
#112118
(17,33,24)
#0F1E15
(15,30,21)
#0D1B12
(13,27,18)
#0B180F
(11,24,15)
#09150C
(9,21,12)
#071209
(7,18,9)
#050F06
(5,15,6)
#030C03
(3,12,3)
#000000
(0,0,0)

Tints of #172A21

#172A21
(23,42,33)
#2C3D35
(44,61,53)
#415049
(65,80,73)
#56635D
(86,99,93)
#6B7671
(107,118,113)
#808985
(128,137,133)
#959C99
(149,156,153)
#AAAFAD
(170,175,173)
#BFC2C1
(191,194,193)
#D4D5D5
(212,213,213)
#E9E8E9
(233,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172A21; }

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

This text font color is #172A21.


Background Color

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

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

This div background color is #172A21.


Border color

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

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

This div border color is #172A21.


Opacity

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

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

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

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

This text has shadow with #172A21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172A21 on black background.


Color preview on white background

This text has color #172A21 on white background.



Black color preview on #172A21 background

This text has black color on #172A21 background.


White color preview on #172A21 background

This text has white color on #172A21 background.