COLOR #041218

HEX: #041218 RGB: (4,18,24)

Color info

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

RGB color model

#041218 color RGB value is (4,18,24).

RGB: (4,18,24) (2%, 7%, 9%)

RGB channels and saturation

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

4
18
24

R + G + B ~ 6%. #041218 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 18 + 24 = 46 (100%)
R 4 of 46 ~ 8.7%
G 18 of 46 ~ 39.13%
B 24 of 46 ~ 52.17'%

%39.13
%52.17

CMYK color model

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

  • cyan value is 83.33%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 90.59%

CMYK: (83,25,0,91)
C83M25Y0K91 (83%, 25%, 0%, 91%)
(0.83 / 0.25 / 0.00 / 0.91)

CMYK percentages

%83.33
%25
%0
%90.59

Codes

Color #041218 in popluar color models

04 12 18
RGB 4 18 24
HSL 198° 71.43% 5.49%
HSB/HSV 198° 83.33% 9.41%
CMYK 83.33% 25.00% 0.00%
90.59%

Color #041218 in popluar number systems.

HEX 04 12 18
Decimal 4 18 24
Binary 100 10010 11000
Octal 4 22 30

Shades and tints

Shades of #041218

#041218
(4,18,24)
#041116
(4,17,22)
#041014
(4,16,20)
#040F12
(4,15,18)
#040E10
(4,14,16)
#040D0E
(4,13,14)
#040C0C
(4,12,12)
#040B0A
(4,11,10)
#040A08
(4,10,8)
#040906
(4,9,6)
#040804
(4,8,4)
#000000
(0,0,0)

Tints of #041218

#041218
(4,18,24)
#1A272D
(26,39,45)
#303C42
(48,60,66)
#465157
(70,81,87)
#5C666C
(92,102,108)
#727B81
(114,123,129)
#889096
(136,144,150)
#9EA5AB
(158,165,171)
#B4BAC0
(180,186,192)
#CACFD5
(202,207,213)
#E0E4EA
(224,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #041218; }

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

This text font color is #041218.

Background Color

.myBgColor { background-color: #041218; }

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

This div background color is #041218.

Border color

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

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

This div border color is #041218.

Opacity

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

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

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

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

This text has shadow with #041218 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #041218.

Preview

Color preview on black background

This text has color #041218 on black background.


Color preview on white background

This text has color #041218 on white background.


Black color preview on #041218 background

This text has black color on #041218 background.


White color preview on #041218 background

This text has white color on #041218 background.


Related colors

Complementary color

Complementary color for #hex is #FBEDE7.


I love getcolorcode.com

Triadic colors

1 #180412 and #121804 with #041218 are triadic colors.

2 #181204 and #120418 with #041218 are triadic colors.