COLOR #172E42

HEX: #172E42
RGB: (23,46,66)

Color info

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

RGB color model

#172E42 color RGB value is (23,46,66).

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

RGB channels and saturation

R 23 of 255 = 9%
G 46 of 255 = 18%
B 66 of 255 = 26%

23
46
66

R + G + B ~ 18%. #172E42 is dark color.

Portions of RGB colors in percentages

R + G + B =
23 + 46 + 66 = 135 (100%)
R 23 of 135 ~ 17.04%
G 46 of 135 ~ 34.07%
B 66 of 135 ~ 48.89%

%17.04
%34.07
%48.89

CMYK color model

#172E42 color CMYK value is (65,30,0,74).

  • cyan value is 65.15%
  • magenta value is 30.30%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(65,30,0,74)
C65M30Y0K74 
(65%,30%,0%,74%)
(0.65/0.30/0.00/0.74)	

CMYK percentages

%65.15
%30.3
%0
%74.12

Codes

Color #172E42 in popluar color models

172E42
RGB234666
HSL208°48.31%17.45%
HSB/HSV208°65.15%25.88%
CMYK65.15%30.30%0.00%
74.12%

Color #172E42 in popluar number systems.

HEX172E42
Decimal234666
Binary101111011101000010
Octal2756102

Shades and tints

Shades of #172E42

#172E42
(23,46,66)
#152A3C
(21,42,60)
#132636
(19,38,54)
#112230
(17,34,48)
#0F1E2A
(15,30,42)
#0D1A24
(13,26,36)
#0B161E
(11,22,30)
#091218
(9,18,24)
#070E12
(7,14,18)
#050A0C
(5,10,12)
#030606
(3,6,6)
#000000
(0,0,0)

Tints of #172E42

#172E42
(23,46,66)
#2C4153
(44,65,83)
#415464
(65,84,100)
#566775
(86,103,117)
#6B7A86
(107,122,134)
#808D97
(128,141,151)
#95A0A8
(149,160,168)
#AAB3B9
(170,179,185)
#BFC6CA
(191,198,202)
#D4D9DB
(212,217,219)
#E9ECEC
(233,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172E42; }

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

This text font color is #172E42.


Background Color

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

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

This div background color is #172E42.


Border color

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

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

This div border color is #172E42.


Opacity

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

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

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

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

This text has shadow with #172E42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172E42 on black background.


Color preview on white background

This text has color #172E42 on white background.



Black color preview on #172E42 background

This text has black color on #172E42 background.


White color preview on #172E42 background

This text has white color on #172E42 background.