COLOR #04281F

HEX: #04281F RGB: (4,40,31)

Color info

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

RGB color model

#04281F color RGB value is (4,40,31).

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

RGB channels and saturation

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

4
40
31

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

Portions of RGB colors in percentages

R + G + B = 4 + 40 + 31 = 75 (100%)
R 4 of 75 ~ 5.33%
G 40 of 75 ~ 53.33%
B 31 of 75 ~ 41.33'%

%53.33
%41.33

CMYK color model

#04281F color CMYK value is (90,0,23,84).

  • cyan value is 90.00%
  • magenta value is 0.00%
  • yellow value is 22.50%
  • key color value is 84.31%
CMYK: (90,0,23,84) C90M0Y23K84 (90%,0%,23%,84%) (0.90/0.00/0.23/0.84) 

CMYK percentages

%90
%0
%22.5
%84.31

Codes

Color #04281F in popluar color models

04 28 1F
RGB 4 40 31
HSL 165° 81.82% 8.63%
HSB/HSV 165° 90.00% 15.69%
CMYK 90.00% 0.00% 22.50%
84.31%

Color #04281F in popluar number systems.

HEX 04 28 1F
Decimal 4 40 31
Binary 100 101000 11111
Octal 4 50 37

Shades and tints

Shades of #04281F

#04281F
(4,40,31)
#04251D
(4,37,29)
#04221B
(4,34,27)
#041F19
(4,31,25)
#041C17
(4,28,23)
#041915
(4,25,21)
#041613
(4,22,19)
#041311
(4,19,17)
#04100F
(4,16,15)
#040D0D
(4,13,13)
#040A0B
(4,10,11)
#000000
(0,0,0)

Tints of #04281F

#04281F
(4,40,31)
#1A3B33
(26,59,51)
#304E47
(48,78,71)
#46615B
(70,97,91)
#5C746F
(92,116,111)
#728783
(114,135,131)
#889A97
(136,154,151)
#9EADAB
(158,173,171)
#B4C0BF
(180,192,191)
#CAD3D3
(202,211,211)
#E0E6E7
(224,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04281F; }

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

This text font color is #04281F.

Background Color

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

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

This div background color is #04281F.

Border color

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

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

This div border color is #04281F.

Opacity

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

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

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

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

This text has shadow with #04281F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04281F.

Preview

Color preview on black background

This text has color #04281F on black background.


Color preview on white background

This text has color #04281F on white background.


Black color preview on #04281F background

This text has black color on #04281F background.


White color preview on #04281F background

This text has white color on #04281F background.


Related colors

Complementary color

Complementary color for #hex is #FBD7E0.


I love getcolorcode.com

Triadic colors

1 #1F0428 and #281F04 with #04281F are triadic colors.

2 #1F2804 and #28041F with #04281F are triadic colors.