COLOR #04280F

HEX: #04280F RGB: (4,40,15)

Color info

#04280F contains red, green and blue colors in about the same proportion. Web safe color of #04280F is #003300 (or #030).

RGB color model

#04280F color RGB value is (4,40,15).

RGB: (4,40,15) (2%, 16%, 6%)

RGB channels and saturation

R 4 of 255 = 2%
G 40 of 255 = 16%
B 15 of 255 = 6%

4
40
15

R + G + B ~ 8%. #04280F is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 40 + 15 = 59 (100%)
R 4 of 59 ~ 6.78%
G 40 of 59 ~ 67.8%
B 15 of 59 ~ 25.42'%

%67.8
%25.42

CMYK color model

#04280F color CMYK value is (90,0,63,84).

  • cyan value is 90.00%
  • magenta value is 0.00%
  • yellow value is 62.50%
  • key color value is 84.31%
CMYK: (90,0,63,84) C90M0Y63K84 (90%,0%,63%,84%) (0.90/0.00/0.63/0.84) 

CMYK percentages

%90
%0
%62.5
%84.31

Codes

Color #04280F in popluar color models

04 28 0F
RGB 4 40 15
HSL 138° 81.82% 8.63%
HSB/HSV 138° 90.00% 15.69%
CMYK 90.00% 0.00% 62.50%
84.31%

Color #04280F in popluar number systems.

HEX 04 28 0F
Decimal 4 40 15
Binary 100 101000 1111
Octal 4 50 17

Shades and tints

Shades of #04280F

#04280F
(4,40,15)
#04250E
(4,37,14)
#04220D
(4,34,13)
#041F0C
(4,31,12)
#041C0B
(4,28,11)
#04190A
(4,25,10)
#041609
(4,22,9)
#041308
(4,19,8)
#041007
(4,16,7)
#040D06
(4,13,6)
#040A05
(4,10,5)
#000000
(0,0,0)

Tints of #04280F

#04280F
(4,40,15)
#1A3B24
(26,59,36)
#304E39
(48,78,57)
#46614E
(70,97,78)
#5C7463
(92,116,99)
#728778
(114,135,120)
#889A8D
(136,154,141)
#9EADA2
(158,173,162)
#B4C0B7
(180,192,183)
#CAD3CC
(202,211,204)
#E0E6E1
(224,230,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04280F; }

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

This text font color is #04280F.

Background Color

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

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

This div background color is #04280F.

Border color

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

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

This div border color is #04280F.

Opacity

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

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

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

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

This text has shadow with #04280F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04280F.

Preview

Color preview on black background

This text has color #04280F on black background.


Color preview on white background

This text has color #04280F on white background.


Black color preview on #04280F background

This text has black color on #04280F background.


White color preview on #04280F background

This text has white color on #04280F background.


Related colors

Complementary color

Complementary color for #hex is #FBD7F0.


I love getcolorcode.com

Triadic colors

1 #0F0428 and #280F04 with #04280F are triadic colors.

2 #0F2804 and #28040F with #04280F are triadic colors.