COLOR #04270C

HEX: #04270C RGB: (4,39,12)

Color info

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

RGB color model

#04270C color RGB value is (4,39,12).

RGB: (4,39,12) (2%, 15%, 5%)

RGB channels and saturation

R 4 of 255 = 2%
G 39 of 255 = 15%
B 12 of 255 = 5%

4
39
12

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

Portions of RGB colors in percentages

R + G + B = 4 + 39 + 12 = 55 (100%)
R 4 of 55 ~ 7.27%
G 39 of 55 ~ 70.91%
B 12 of 55 ~ 21.82'%

%70.91
%21.82

CMYK color model

#04270C color CMYK value is (90,0,69,85).

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

CMYK: (90,0,69,85)
C90M0Y69K85 (90%, 0%, 69%, 85%)
(0.90 / 0.00 / 0.69 / 0.85)

CMYK percentages

%89.74
%0
%69.23
%84.71

Codes

Color #04270C in popluar color models

04 27 0C
RGB 4 39 12
HSL 134° 81.40% 8.43%
HSB/HSV 134° 89.74% 15.29%
CMYK 89.74% 0.00% 69.23%
84.71%

Color #04270C in popluar number systems.

HEX 04 27 0C
Decimal 4 39 12
Binary 100 100111 1100
Octal 4 47 14

Shades and tints

Shades of #04270C

#04270C
(4,39,12)
#04240B
(4,36,11)
#04210A
(4,33,10)
#041E09
(4,30,9)
#041B08
(4,27,8)
#041807
(4,24,7)
#041506
(4,21,6)
#041205
(4,18,5)
#040F04
(4,15,4)
#040C03
(4,12,3)
#040902
(4,9,2)
#000000
(0,0,0)

Tints of #04270C

#04270C
(4,39,12)
#1A3A22
(26,58,34)
#304D38
(48,77,56)
#46604E
(70,96,78)
#5C7364
(92,115,100)
#72867A
(114,134,122)
#889990
(136,153,144)
#9EACA6
(158,172,166)
#B4BFBC
(180,191,188)
#CAD2D2
(202,210,210)
#E0E5E8
(224,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04270C; }

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

This text font color is #04270C.

Background Color

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

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

This div background color is #04270C.

Border color

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

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

This div border color is #04270C.

Opacity

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

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

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

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

This text has shadow with #04270C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04270C.

Preview

Color preview on black background

This text has color #04270C on black background.


Color preview on white background

This text has color #04270C on white background.


Black color preview on #04270C background

This text has black color on #04270C background.


White color preview on #04270C background

This text has white color on #04270C background.


Related colors

Complementary color

Complementary color for #hex is #FBD8F3.


I love getcolorcode.com

Triadic colors

1 #0C0427 and #270C04 with #04270C are triadic colors.

2 #0C2704 and #27040C with #04270C are triadic colors.