COLOR #172B42

HEX: #172B42
RGB: (23,43,66)

Color info

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

RGB color model

#172B42 color RGB value is (23,43,66).

  • red value is 23;
  • green value is 43;
  • blue value is 66.
RGB:
(23,43,66)
(9%,17%,26%)

RGB channels and saturation

R 23 of 255 = 9%
G 43 of 255 = 17%
B 66 of 255 = 26%

23
43
66

R + G + B ~ 17%. #172B42 is dark color.

Portions of RGB colors in percentages

R + G + B =
23 + 43 + 66 = 132 (100%)
R 23 of 132 ~ 17.42%
G 43 of 132 ~ 32.58%
B 66 of 132 ~ 50%

%17.42
%32.58
%50

CMYK color model

#172B42 color CMYK value is (65,35,0,74).

  • cyan value is 65.15%
  • magenta value is 34.85%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(65,35,0,74)
C65M35Y0K74 
(65%,35%,0%,74%)
(0.65/0.35/0.00/0.74)	

CMYK percentages

%65.15
%34.85
%0
%74.12

Codes

Color #172B42 in popluar color models

172B42
RGB234366
HSL212°48.31%17.45%
HSB/HSV212°65.15%25.88%
CMYK65.15%34.85%0.00%
74.12%

Color #172B42 in popluar number systems.

HEX172B42
Decimal234366
Binary101111010111000010
Octal2753102

Shades and tints

Shades of #172B42

#172B42
(23,43,66)
#15283C
(21,40,60)
#132536
(19,37,54)
#112230
(17,34,48)
#0F1F2A
(15,31,42)
#0D1C24
(13,28,36)
#0B191E
(11,25,30)
#091618
(9,22,24)
#071312
(7,19,18)
#05100C
(5,16,12)
#030D06
(3,13,6)
#000000
(0,0,0)

Tints of #172B42

#172B42
(23,43,66)
#2C3E53
(44,62,83)
#415164
(65,81,100)
#566475
(86,100,117)
#6B7786
(107,119,134)
#808A97
(128,138,151)
#959DA8
(149,157,168)
#AAB0B9
(170,176,185)
#BFC3CA
(191,195,202)
#D4D6DB
(212,214,219)
#E9E9EC
(233,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #172B42 color. Also use rgb(23,43,66) instead hex code.

Text Font Color

.myTextColor { color: #172B42; }

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

This text font color is #172B42.


Background Color

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

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

This div background color is #172B42.


Border color

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

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

This div border color is #172B42.


Opacity

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

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

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

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

This text has shadow with #172B42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172B42 on black background.


Color preview on white background

This text has color #172B42 on white background.



Black color preview on #172B42 background

This text has black color on #172B42 background.


White color preview on #172B42 background

This text has white color on #172B42 background.