COLOR #04281E

HEX: #04281E RGB: (4,40,30)

Color info

#04281E contains red, green and blue colors in about the same proportion. Web safe color of #04281E is #003333 (or #033).

RGB color model

#04281E color RGB value is (4,40,30).

RGB: (4,40,30) (2%, 16%, 12%)

RGB channels and saturation

R 4 of 255 = 2%
G 40 of 255 = 16%
B 30 of 255 = 12%

4
40
30

R + G + B ~ 10%. #04281E is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 40 + 30 = 74 (100%)
R 4 of 74 ~ 5.41%
G 40 of 74 ~ 54.05%
B 30 of 74 ~ 40.54'%

%54.05
%40.54

CMYK color model

#04281E color CMYK value is (90,0,25,84).

  • cyan value is 90.00%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 84.31%

CMYK: (90,0,25,84)
C90M0Y25K84 (90%, 0%, 25%, 84%)
(0.90 / 0.00 / 0.25 / 0.84)

CMYK percentages

%90
%0
%25
%84.31

Codes

Color #04281E in popluar color models

04 28 1E
RGB 4 40 30
HSL 163° 81.82% 8.63%
HSB/HSV 163° 90.00% 15.69%
CMYK 90.00% 0.00% 25.00%
84.31%

Color #04281E in popluar number systems.

HEX 04 28 1E
Decimal 4 40 30
Binary 100 101000 11110
Octal 4 50 36

Shades and tints

Shades of #04281E

#04281E
(4,40,30)
#04251C
(4,37,28)
#04221A
(4,34,26)
#041F18
(4,31,24)
#041C16
(4,28,22)
#041914
(4,25,20)
#041612
(4,22,18)
#041310
(4,19,16)
#04100E
(4,16,14)
#040D0C
(4,13,12)
#040A0A
(4,10,10)
#000000
(0,0,0)

Tints of #04281E

#04281E
(4,40,30)
#1A3B32
(26,59,50)
#304E46
(48,78,70)
#46615A
(70,97,90)
#5C746E
(92,116,110)
#728782
(114,135,130)
#889A96
(136,154,150)
#9EADAA
(158,173,170)
#B4C0BE
(180,192,190)
#CAD3D2
(202,211,210)
#E0E6E6
(224,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04281E; }

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

This text font color is #04281E.

Background Color

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

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

This div background color is #04281E.

Border color

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

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

This div border color is #04281E.

Opacity

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

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

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

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

This text has shadow with #04281E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04281E.

Preview

Color preview on black background

This text has color #04281E on black background.


Color preview on white background

This text has color #04281E on white background.


Black color preview on #04281E background

This text has black color on #04281E background.


White color preview on #04281E background

This text has white color on #04281E background.


Related colors

Complementary color

Complementary color for #hex is #FBD7E1.


I love getcolorcode.com

Triadic colors

1 #1E0428 and #281E04 with #04281E are triadic colors.

2 #1E2804 and #28041E with #04281E are triadic colors.