COLOR #172140

HEX: #172140
RGB: (23,33,64)

Color info

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

RGB color model

#172140 color RGB value is (23,33,64).

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

RGB channels and saturation

R 23 of 255 = 9%
G 33 of 255 = 13%
B 64 of 255 = 25%

23
33
64

R + G + B ~ 16%. #172140 is dark color.

Portions of RGB colors in percentages

R + G + B =
23 + 33 + 64 = 120 (100%)
R 23 of 120 ~ 19.17%
G 33 of 120 ~ 27.5%
B 64 of 120 ~ 53.33%

%19.17
%27.5
%53.33

CMYK color model

#172140 color CMYK value is (64,48,0,75).

  • cyan value is 64.06%
  • magenta value is 48.44%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(64,48,0,75)
C64M48Y0K75 
(64%,48%,0%,75%)
(0.64/0.48/0.00/0.75)	

CMYK percentages

%64.06
%48.44
%0
%74.9

Codes

Color #172140 in popluar color models

172140
RGB233364
HSL225°47.13%17.06%
HSB/HSV225°64.06%25.10%
CMYK64.06%48.44%0.00%
74.90%

Color #172140 in popluar number systems.

HEX172140
Decimal233364
Binary101111000011000000
Octal2741100

Shades and tints

Shades of #172140

#172140
(23,33,64)
#151E3B
(21,30,59)
#131B36
(19,27,54)
#111831
(17,24,49)
#0F152C
(15,21,44)
#0D1227
(13,18,39)
#0B0F22
(11,15,34)
#090C1D
(9,12,29)
#070918
(7,9,24)
#050613
(5,6,19)
#03030E
(3,3,14)
#000000
(0,0,0)

Tints of #172140

#172140
(23,33,64)
#2C3551
(44,53,81)
#414962
(65,73,98)
#565D73
(86,93,115)
#6B7184
(107,113,132)
#808595
(128,133,149)
#9599A6
(149,153,166)
#AAADB7
(170,173,183)
#BFC1C8
(191,193,200)
#D4D5D9
(212,213,217)
#E9E9EA
(233,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172140; }

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

This text font color is #172140.


Background Color

.myBgColor { background-color: #172140; }

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

This div background color is #172140.


Border color

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

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

This div border color is #172140.


Opacity

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

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

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

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

This text has shadow with #172140 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172140 on black background.


Color preview on white background

This text has color #172140 on white background.



Black color preview on #172140 background

This text has black color on #172140 background.


White color preview on #172140 background

This text has white color on #172140 background.