COLOR #172848

HEX: #172848
RGB: (23,40,72)

Color info

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

RGB color model

#172848 color RGB value is (23,40,72).

  • red value is 23;
  • green value is 40;
  • blue value is 72.
RGB:
(23,40,72)
(9%,16%,28%)

RGB channels and saturation

R 23 of 255 = 9%
G 40 of 255 = 16%
B 72 of 255 = 28%

23
40
72

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

Portions of RGB colors in percentages

R + G + B =
23 + 40 + 72 = 135 (100%)
R 23 of 135 ~ 17.04%
G 40 of 135 ~ 29.63%
B 72 of 135 ~ 53.33%

%17.04
%29.63
%53.33

CMYK color model

#172848 color CMYK value is (68,44,0,72).

  • cyan value is 68.06%
  • magenta value is 44.44%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(68,44,0,72)
C68M44Y0K72 
(68%,44%,0%,72%)
(0.68/0.44/0.00/0.72)	

CMYK percentages

%68.06
%44.44
%0
%71.76

Codes

Color #172848 in popluar color models

172848
RGB234072
HSL219°51.58%18.63%
HSB/HSV219°68.06%28.24%
CMYK68.06%44.44%0.00%
71.76%

Color #172848 in popluar number systems.

HEX172848
Decimal234072
Binary101111010001001000
Octal2750110

Shades and tints

Shades of #172848

#172848
(23,40,72)
#152542
(21,37,66)
#13223C
(19,34,60)
#111F36
(17,31,54)
#0F1C30
(15,28,48)
#0D192A
(13,25,42)
#0B1624
(11,22,36)
#09131E
(9,19,30)
#071018
(7,16,24)
#050D12
(5,13,18)
#030A0C
(3,10,12)
#000000
(0,0,0)

Tints of #172848

#172848
(23,40,72)
#2C3B58
(44,59,88)
#414E68
(65,78,104)
#566178
(86,97,120)
#6B7488
(107,116,136)
#808798
(128,135,152)
#959AA8
(149,154,168)
#AAADB8
(170,173,184)
#BFC0C8
(191,192,200)
#D4D3D8
(212,211,216)
#E9E6E8
(233,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #172848 color. Also use rgb(23,40,72) instead hex code.

Text Font Color

.myTextColor { color: #172848; }

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

This text font color is #172848.


Background Color

.myBgColor { background-color: #172848; }

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

This div background color is #172848.


Border color

.myBorderColor { border: 1px solid #172848; }

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

This div border color is #172848.


Opacity

.myOpacity80 { color: #172848; opacity: 0.8; }

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

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

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

This text has shadow with #172848 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172848 on black background.


Color preview on white background

This text has color #172848 on white background.



Black color preview on #172848 background

This text has black color on #172848 background.


White color preview on #172848 background

This text has white color on #172848 background.