COLOR #04270B

HEX: #04270B RGB: (4,39,11)

Color info

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

RGB color model

#04270B color RGB value is (4,39,11).

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

RGB channels and saturation

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

4
39
11

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

Portions of RGB colors in percentages

R + G + B = 4 + 39 + 11 = 54 (100%)
R 4 of 54 ~ 7.41%
G 39 of 54 ~ 72.22%
B 11 of 54 ~ 20.37'%

%72.22
%20.37

CMYK color model

#04270B color CMYK value is (90,0,72,85).

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

CMYK: (90,0,72,85)
C90M0Y72K85 (90%, 0%, 72%, 85%)
(0.90 / 0.00 / 0.72 / 0.85)

CMYK percentages

%89.74
%0
%71.79
%84.71

Codes

Color #04270B in popluar color models

04 27 0B
RGB 4 39 11
HSL 132° 81.40% 8.43%
HSB/HSV 132° 89.74% 15.29%
CMYK 89.74% 0.00% 71.79%
84.71%

Color #04270B in popluar number systems.

HEX 04 27 0B
Decimal 4 39 11
Binary 100 100111 1011
Octal 4 47 13

Shades and tints

Shades of #04270B

#04270B
(4,39,11)
#04240A
(4,36,10)
#042109
(4,33,9)
#041E08
(4,30,8)
#041B07
(4,27,7)
#041806
(4,24,6)
#041505
(4,21,5)
#041204
(4,18,4)
#040F03
(4,15,3)
#040C02
(4,12,2)
#040901
(4,9,1)
#000000
(0,0,0)

Tints of #04270B

#04270B
(4,39,11)
#1A3A21
(26,58,33)
#304D37
(48,77,55)
#46604D
(70,96,77)
#5C7363
(92,115,99)
#728679
(114,134,121)
#88998F
(136,153,143)
#9EACA5
(158,172,165)
#B4BFBB
(180,191,187)
#CAD2D1
(202,210,209)
#E0E5E7
(224,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04270B; }

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

This text font color is #04270B.

Background Color

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

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

This div background color is #04270B.

Border color

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

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

This div border color is #04270B.

Opacity

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

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

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

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

This text has shadow with #04270B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04270B.

Preview

Color preview on black background

This text has color #04270B on black background.


Color preview on white background

This text has color #04270B on white background.


Black color preview on #04270B background

This text has black color on #04270B background.


White color preview on #04270B background

This text has white color on #04270B background.


Related colors

Complementary color

Complementary color for #hex is #FBD8F4.


I love getcolorcode.com

Triadic colors

1 #0B0427 and #270B04 with #04270B are triadic colors.

2 #0B2704 and #27040B with #04270B are triadic colors.