COLOR #18172A

HEX: #18172A RGB: (24,23,42)

Color info

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

RGB color model

#18172A color RGB value is (24,23,42).

RGB: (24,23,42) (9%, 9%, 16%)

RGB channels and saturation

R 24 of 255 = 9%
G 23 of 255 = 9%
B 42 of 255 = 16%

24
23
42

R + G + B ~ 11%. #18172A is dark color.

Portions of RGB colors in percentages

R + G + B = 24 + 23 + 42 = 89 (100%)
R 24 of 89 ~ 26.97%
G 23 of 89 ~ 25.84%
B 42 of 89 ~ 47.19'%

%26.97
%25.84
%47.19

CMYK color model

#18172A color CMYK value is (43,45,0,84).

  • cyan value is 42.86%
  • magenta value is 45.24%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (43,45,0,84)
C43M45Y0K84 (43%, 45%, 0%, 84%)
(0.43 / 0.45 / 0.00 / 0.84)

CMYK percentages

%42.86
%45.24
%0
%83.53

Codes

Color #18172A in popluar color models

18 17 2A
RGB 24 23 42
HSL 243° 29.23% 12.75%
HSB/HSV 243° 45.24% 16.47%
CMYK 42.86% 45.24% 0.00%
83.53%

Color #18172A in popluar number systems.

HEX 18 17 2A
Decimal 24 23 42
Binary 11000 10111 101010
Octal 30 27 52

Shades and tints

Shades of #18172A

#18172A
(24,23,42)
#161527
(22,21,39)
#141324
(20,19,36)
#121121
(18,17,33)
#100F1E
(16,15,30)
#0E0D1B
(14,13,27)
#0C0B18
(12,11,24)
#0A0915
(10,9,21)
#080712
(8,7,18)
#06050F
(6,5,15)
#04030C
(4,3,12)
#000000
(0,0,0)

Tints of #18172A

#18172A
(24,23,42)
#2D2C3D
(45,44,61)
#424150
(66,65,80)
#575663
(87,86,99)
#6C6B76
(108,107,118)
#818089
(129,128,137)
#96959C
(150,149,156)
#ABAAAF
(171,170,175)
#C0BFC2
(192,191,194)
#D5D4D5
(213,212,213)
#EAE9E8
(234,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #18172A color. Also use rgb(24,23,42) instead hex code.

Text Font Color

.myTextColor { color: #18172A; }

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

This text font color is #18172A.

Background Color

.myBgColor { background-color: #18172A; }

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

This div background color is #18172A.

Border color

.myBorderColor { border: 1px solid #18172A; }

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

This div border color is #18172A.

Opacity

.myOpacity80 { color: #18172A; opacity: 0.8; }

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

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

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

This text has shadow with #18172A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #18172A.

Preview

Color preview on black background

This text has color #18172A on black background.


Color preview on white background

This text has color #18172A on white background.


Black color preview on #18172A background

This text has black color on #18172A background.


White color preview on #18172A background

This text has white color on #18172A background.


Related colors

Complementary color

Complementary color for #hex is #E7E8D5.


I love getcolorcode.com

Triadic colors

1 #2A1817 and #172A18 with #18172A are triadic colors.

2 #2A1718 and #17182A with #18172A are triadic colors.