COLOR #04182D

HEX: #04182D
RGB: (4,24,45)

Color info

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

RGB color model

#04182D color RGB value is (4,24,45).

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

RGB channels and saturation

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

4
24
45

R + G + B ~ 10%. #04182D is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 24 + 45 = 73 (100%)
R 4 of 73 ~ 5.48%
G 24 of 73 ~ 32.88%
B 45 of 73 ~ 61.64%

%32.88
%61.64

CMYK color model

#04182D color CMYK value is (91,47,0,82).

  • cyan value is 91.11%
  • magenta value is 46.67%
  • yellow value is 0.00%
  • key color value is 82.35%
CMYK: (91,47,0,82) C91M47Y0K82 (91%,47%,0%,82%) (0.91/0.47/0.00/0.82)

CMYK percentages

%91.11
%46.67
%0
%82.35

Codes

Color #04182D in popluar color models

04182D
RGB42445
HSL211°83.67%9.61%
HSB/HSV211°91.11%17.65%
CMYK91.11%46.67%0.00%
82.35%

Color #04182D in popluar number systems.

HEX04182D
Decimal42445
Binary10011000101101
Octal43055

Shades and tints

Shades of #04182D

#04182D
(4,24,45)
#041629
(4,22,41)
#041425
(4,20,37)
#041221
(4,18,33)
#04101D
(4,16,29)
#040E19
(4,14,25)
#040C15
(4,12,21)
#040A11
(4,10,17)
#04080D
(4,8,13)
#040609
(4,6,9)
#040405
(4,4,5)
#000000
(0,0,0)

Tints of #04182D

#04182D
(4,24,45)
#1A2D40
(26,45,64)
#304253
(48,66,83)
#465766
(70,87,102)
#5C6C79
(92,108,121)
#72818C
(114,129,140)
#88969F
(136,150,159)
#9EABB2
(158,171,178)
#B4C0C5
(180,192,197)
#CAD5D8
(202,213,216)
#E0EAEB
(224,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04182D; }

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

This text font color is #04182D.


Background Color

.myBgColor { background-color: #04182D; }

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

This div background color is #04182D.


Border color

.myBorderColor { border: 1px solid #04182D; }

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

This div border color is #04182D.


Opacity

.myOpacity80 { color: #04182D; opacity: 0.8; }

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

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

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

This text has shadow with #04182D color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #04182D on black background.


Color preview on white background

This text has color #04182D on white background.



Black color preview on #04182D background

This text has black color on #04182D background.


White color preview on #04182D background

This text has white color on #04182D background.