COLOR #04181E

HEX: #04181E RGB: (4,24,30)

Color info

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

RGB color model

#04181E color RGB value is (4,24,30).

RGB: (4,24,30) (2%, 9%, 12%)

RGB channels and saturation

R 4 of 255 = 2%
G 24 of 255 = 9%
B 30 of 255 = 12%

4
24
30

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

Portions of RGB colors in percentages

R + G + B = 4 + 24 + 30 = 58 (100%)
R 4 of 58 ~ 6.9%
G 24 of 58 ~ 41.38%
B 30 of 58 ~ 51.72'%

%41.38
%51.72

CMYK color model

#04181E color CMYK value is (87,20,0,88).

  • cyan value is 86.67%
  • magenta value is 20.00%
  • yellow value is 0.00%
  • key color value is 88.24%

CMYK: (87,20,0,88)
C87M20Y0K88 (87%, 20%, 0%, 88%)
(0.87 / 0.20 / 0.00 / 0.88)

CMYK percentages

%86.67
%20
%0
%88.24

Codes

Color #04181E in popluar color models

04 18 1E
RGB 4 24 30
HSL 194° 76.47% 6.67%
HSB/HSV 194° 86.67% 11.76%
CMYK 86.67% 20.00% 0.00%
88.24%

Color #04181E in popluar number systems.

HEX 04 18 1E
Decimal 4 24 30
Binary 100 11000 11110
Octal 4 30 36

Shades and tints

Shades of #04181E

#04181E
(4,24,30)
#04161C
(4,22,28)
#04141A
(4,20,26)
#041218
(4,18,24)
#041016
(4,16,22)
#040E14
(4,14,20)
#040C12
(4,12,18)
#040A10
(4,10,16)
#04080E
(4,8,14)
#04060C
(4,6,12)
#04040A
(4,4,10)
#000000
(0,0,0)

Tints of #04181E

#04181E
(4,24,30)
#1A2D32
(26,45,50)
#304246
(48,66,70)
#46575A
(70,87,90)
#5C6C6E
(92,108,110)
#728182
(114,129,130)
#889696
(136,150,150)
#9EABAA
(158,171,170)
#B4C0BE
(180,192,190)
#CAD5D2
(202,213,210)
#E0EAE6
(224,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04181E; }

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

This text font color is #04181E.

Background Color

.myBgColor { background-color: #04181E; }

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

This div background color is #04181E.

Border color

.myBorderColor { border: 1px solid #04181E; }

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

This div border color is #04181E.

Opacity

.myOpacity80 { color: #04181E; opacity: 0.8; }

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

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

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

This text has shadow with #04181E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04181E.

Preview

Color preview on black background

This text has color #04181E on black background.


Color preview on white background

This text has color #04181E on white background.


Black color preview on #04181E background

This text has black color on #04181E background.


White color preview on #04181E background

This text has white color on #04181E background.


Related colors

Complementary color

Complementary color for #hex is #FBE7E1.


I love getcolorcode.com

Triadic colors

1 #1E0418 and #181E04 with #04181E are triadic colors.

2 #1E1804 and #18041E with #04181E are triadic colors.