COLOR #172841

HEX: #172841
RGB: (23,40,65)

Color info

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

RGB color model

#172841 color RGB value is (23,40,65).

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

RGB channels and saturation

R 23 of 255 = 9%
G 40 of 255 = 16%
B 65 of 255 = 25%

23
40
65

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

Portions of RGB colors in percentages

R + G + B =
23 + 40 + 65 = 128 (100%)
R 23 of 128 ~ 17.97%
G 40 of 128 ~ 31.25%
B 65 of 128 ~ 50.78%

%17.97
%31.25
%50.78

CMYK color model

#172841 color CMYK value is (65,38,0,75).

  • cyan value is 64.62%
  • magenta value is 38.46%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(65,38,0,75)
C65M38Y0K75 
(65%,38%,0%,75%)
(0.65/0.38/0.00/0.75)	

CMYK percentages

%64.62
%38.46
%0
%74.51

Codes

Color #172841 in popluar color models

172841
RGB234065
HSL216°47.73%17.25%
HSB/HSV216°64.62%25.49%
CMYK64.62%38.46%0.00%
74.51%

Color #172841 in popluar number systems.

HEX172841
Decimal234065
Binary101111010001000001
Octal2750101

Shades and tints

Shades of #172841

#172841
(23,40,65)
#15253C
(21,37,60)
#132237
(19,34,55)
#111F32
(17,31,50)
#0F1C2D
(15,28,45)
#0D1928
(13,25,40)
#0B1623
(11,22,35)
#09131E
(9,19,30)
#071019
(7,16,25)
#050D14
(5,13,20)
#030A0F
(3,10,15)
#000000
(0,0,0)

Tints of #172841

#172841
(23,40,65)
#2C3B52
(44,59,82)
#414E63
(65,78,99)
#566174
(86,97,116)
#6B7485
(107,116,133)
#808796
(128,135,150)
#959AA7
(149,154,167)
#AAADB8
(170,173,184)
#BFC0C9
(191,192,201)
#D4D3DA
(212,211,218)
#E9E6EB
(233,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #172841; }

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

This text font color is #172841.


Background Color

.myBgColor { background-color: #172841; }

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

This div background color is #172841.


Border color

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

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

This div border color is #172841.


Opacity

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

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

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

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

This text has shadow with #172841 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #172841 on black background.


Color preview on white background

This text has color #172841 on white background.



Black color preview on #172841 background

This text has black color on #172841 background.


White color preview on #172841 background

This text has white color on #172841 background.