COLOR #171240

HEX: #171240 RGB: (23,18,64)

Color info

#171240 contains red, green and blue colors in about the same proportion. Web safe color of #171240 is #000033 (or #003).

RGB color model

#171240 color RGB value is (23,18,64).

RGB: (23,18,64) (9%, 7%, 25%)

RGB channels and saturation

R 23 of 255 = 9%
G 18 of 255 = 7%
B 64 of 255 = 25%

23
18
64

R + G + B ~ 14%. #171240 is dark color.

Portions of RGB colors in percentages

R + G + B = 23 + 18 + 64 = 105 (100%)
R 23 of 105 ~ 21.9%
G 18 of 105 ~ 17.14%
B 64 of 105 ~ 60.95'%

%21.9
%17.14
%60.95

CMYK color model

#171240 color CMYK value is (64,72,0,75).

  • cyan value is 64.06%
  • magenta value is 71.88%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (64,72,0,75)
C64M72Y0K75 (64%, 72%, 0%, 75%)
(0.64 / 0.72 / 0.00 / 0.75)

CMYK percentages

%64.06
%71.88
%0
%74.9

Codes

Color #171240 in popluar color models

17 12 40
RGB 23 18 64
HSL 247° 56.10% 16.08%
HSB/HSV 247° 71.88% 25.10%
CMYK 64.06% 71.88% 0.00%
74.90%

Color #171240 in popluar number systems.

HEX 17 12 40
Decimal 23 18 64
Binary 10111 10010 1000000
Octal 27 22 100

Shades and tints

Shades of #171240

#171240
(23,18,64)
#15113B
(21,17,59)
#131036
(19,16,54)
#110F31
(17,15,49)
#0F0E2C
(15,14,44)
#0D0D27
(13,13,39)
#0B0C22
(11,12,34)
#090B1D
(9,11,29)
#070A18
(7,10,24)
#050913
(5,9,19)
#03080E
(3,8,14)
#000000
(0,0,0)

Tints of #171240

#171240
(23,18,64)
#2C2751
(44,39,81)
#413C62
(65,60,98)
#565173
(86,81,115)
#6B6684
(107,102,132)
#807B95
(128,123,149)
#9590A6
(149,144,166)
#AAA5B7
(170,165,183)
#BFBAC8
(191,186,200)
#D4CFD9
(212,207,217)
#E9E4EA
(233,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #171240; }

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

This text font color is #171240.

Background Color

.myBgColor { background-color: #171240; }

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

This div background color is #171240.

Border color

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

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

This div border color is #171240.

Opacity

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

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

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

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

This text has shadow with #171240 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #171240.

Preview

Color preview on black background

This text has color #171240 on black background.


Color preview on white background

This text has color #171240 on white background.


Black color preview on #171240 background

This text has black color on #171240 background.


White color preview on #171240 background

This text has white color on #171240 background.


Related colors

Complementary color

Complementary color for #hex is #E8EDBF.


I love getcolorcode.com

Triadic colors

1 #401712 and #124017 with #171240 are triadic colors.

2 #401217 and #121740 with #171240 are triadic colors.