COLOR #172A4D

HEX: #172A4D
RGB: (23,42,77)

Color info

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

RGB color model

#172A4D color RGB value is (23,42,77).

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

RGB channels and saturation

R 23 of 255 = 9%
G 42 of 255 = 16%
B 77 of 255 = 30%

23
42
77

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

Portions of RGB colors in percentages

R + G + B =
23 + 42 + 77 = 142 (100%)
R 23 of 142 ~ 16.2%
G 42 of 142 ~ 29.58%
B 77 of 142 ~ 54.23%

%16.2
%29.58
%54.23

CMYK color model

#172A4D color CMYK value is (70,45,0,70).

  • cyan value is 70.13%
  • magenta value is 45.45%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(70,45,0,70)
C70M45Y0K70 
(70%,45%,0%,70%)
(0.70/0.45/0.00/0.70)	

CMYK percentages

%70.13
%45.45
%0
%69.8

Codes

Color #172A4D in popluar color models

172A4D
RGB234277
HSL219°54.00%19.61%
HSB/HSV219°70.13%30.20%
CMYK70.13%45.45%0.00%
69.80%

Color #172A4D in popluar number systems.

HEX172A4D
Decimal234277
Binary101111010101001101
Octal2752115

Shades and tints

Shades of #172A4D

#172A4D
(23,42,77)
#152746
(21,39,70)
#13243F
(19,36,63)
#112138
(17,33,56)
#0F1E31
(15,30,49)
#0D1B2A
(13,27,42)
#0B1823
(11,24,35)
#09151C
(9,21,28)
#071215
(7,18,21)
#050F0E
(5,15,14)
#030C07
(3,12,7)
#000000
(0,0,0)

Tints of #172A4D

#172A4D
(23,42,77)
#2C3D5D
(44,61,93)
#41506D
(65,80,109)
#56637D
(86,99,125)
#6B768D
(107,118,141)
#80899D
(128,137,157)
#959CAD
(149,156,173)
#AAAFBD
(170,175,189)
#BFC2CD
(191,194,205)
#D4D5DD
(212,213,221)
#E9E8ED
(233,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172A4D; }

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

This text font color is #172A4D.


Background Color

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

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

This div background color is #172A4D.


Border color

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

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

This div border color is #172A4D.


Opacity

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

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

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

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

This text has shadow with #172A4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172A4D on black background.


Color preview on white background

This text has color #172A4D on white background.



Black color preview on #172A4D background

This text has black color on #172A4D background.


White color preview on #172A4D background

This text has white color on #172A4D background.