COLOR #181218

HEX: #181218
RGB: (24,18,24)

Color info

#181218 contains red, green and blue colors in about the same proportion. Web safe color of #181218 is #000000 (or #000).

RGB color model

#181218 color RGB value is (24,18,24).

  • red value is 24;
  • green value is 18;
  • blue value is 24.
RGB:
(24,18,24)
(9%,7%,9%)

RGB channels and saturation

R 24 of 255 = 9%
G 18 of 255 = 7%
B 24 of 255 = 9%

24
18
24

R + G + B ~ 8%. #181218 is dark color.

Portions of RGB colors in percentages

R + G + B =
24 + 18 + 24 = 66 (100%)
R 24 of 66 ~ 36.36%
G 18 of 66 ~ 27.27%
B 24 of 66 ~ 36.36%

%36.36
%27.27
%36.36

CMYK color model

#181218 color CMYK value is (0,25,0,91).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 90.59%
CMYK:
(0,25,0,91)
C0M25Y0K91 
(0%,25%,0%,91%)
(0.00/0.25/0.00/0.91)	

CMYK percentages

%0
%25
%0
%90.59

Codes

Color #181218 in popluar color models

181218
RGB241824
HSL300°14.29%8.24%
HSB/HSV300°25.00%9.41%
CMYK0.00%25.00%0.00%
90.59%

Color #181218 in popluar number systems.

HEX181218
Decimal241824
Binary110001001011000
Octal302230

Shades and tints

Shades of #181218

#181218
(24,18,24)
#161116
(22,17,22)
#141014
(20,16,20)
#120F12
(18,15,18)
#100E10
(16,14,16)
#0E0D0E
(14,13,14)
#0C0C0C
(12,12,12)
#0A0B0A
(10,11,10)
#080A08
(8,10,8)
#060906
(6,9,6)
#040804
(4,8,4)
#000000
(0,0,0)

Tints of #181218

#181218
(24,18,24)
#2D272D
(45,39,45)
#423C42
(66,60,66)
#575157
(87,81,87)
#6C666C
(108,102,108)
#817B81
(129,123,129)
#969096
(150,144,150)
#ABA5AB
(171,165,171)
#C0BAC0
(192,186,192)
#D5CFD5
(213,207,213)
#EAE4EA
(234,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #181218; }

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

This text font color is #181218.


Background Color

.myBgColor { background-color: #181218; }

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

This div background color is #181218.


Border color

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

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

This div border color is #181218.


Opacity

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

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

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

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

This text has shadow with #181218 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #181218 on black background.


Color preview on white background

This text has color #181218 on white background.



Black color preview on #181218 background

This text has black color on #181218 background.


White color preview on #181218 background

This text has white color on #181218 background.