COLOR #04270F

HEX: #04270F RGB: (4,39,15)

Color info

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

RGB color model

#04270F color RGB value is (4,39,15).

RGB: (4,39,15) (2%, 15%, 6%)

RGB channels and saturation

R 4 of 255 = 2%
G 39 of 255 = 15%
B 15 of 255 = 6%

4
39
15

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

Portions of RGB colors in percentages

R + G + B = 4 + 39 + 15 = 58 (100%)
R 4 of 58 ~ 6.9%
G 39 of 58 ~ 67.24%
B 15 of 58 ~ 25.86'%

%67.24
%25.86

CMYK color model

#04270F color CMYK value is (90,0,62,85).

  • cyan value is 89.74%
  • magenta value is 0.00%
  • yellow value is 61.54%
  • key color value is 84.71%

CMYK: (90,0,62,85)
C90M0Y62K85 (90%, 0%, 62%, 85%)
(0.90 / 0.00 / 0.62 / 0.85)

CMYK percentages

%89.74
%0
%61.54
%84.71

Codes

Color #04270F in popluar color models

04 27 0F
RGB 4 39 15
HSL 139° 81.40% 8.43%
HSB/HSV 139° 89.74% 15.29%
CMYK 89.74% 0.00% 61.54%
84.71%

Color #04270F in popluar number systems.

HEX 04 27 0F
Decimal 4 39 15
Binary 100 100111 1111
Octal 4 47 17

Shades and tints

Shades of #04270F

#04270F
(4,39,15)
#04240E
(4,36,14)
#04210D
(4,33,13)
#041E0C
(4,30,12)
#041B0B
(4,27,11)
#04180A
(4,24,10)
#041509
(4,21,9)
#041208
(4,18,8)
#040F07
(4,15,7)
#040C06
(4,12,6)
#040905
(4,9,5)
#000000
(0,0,0)

Tints of #04270F

#04270F
(4,39,15)
#1A3A24
(26,58,36)
#304D39
(48,77,57)
#46604E
(70,96,78)
#5C7363
(92,115,99)
#728678
(114,134,120)
#88998D
(136,153,141)
#9EACA2
(158,172,162)
#B4BFB7
(180,191,183)
#CAD2CC
(202,210,204)
#E0E5E1
(224,229,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04270F; }

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

This text font color is #04270F.

Background Color

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

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

This div background color is #04270F.

Border color

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

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

This div border color is #04270F.

Opacity

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

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

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

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

This text has shadow with #04270F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04270F.

Preview

Color preview on black background

This text has color #04270F on black background.


Color preview on white background

This text has color #04270F on white background.


Black color preview on #04270F background

This text has black color on #04270F background.


White color preview on #04270F background

This text has white color on #04270F background.


Related colors

Complementary color

Complementary color for #hex is #FBD8F0.


I love getcolorcode.com

Triadic colors

1 #0F0427 and #270F04 with #04270F are triadic colors.

2 #0F2704 and #27040F with #04270F are triadic colors.