COLOR #05420C

HEX: #05420C RGB: (5,66,12)

Color info

#05420C contains mainly green and blue colors. Web safe color of #05420C is #003300 (or #030).

RGB color model

#05420C color RGB value is (5,66,12).

RGB: (5,66,12) (2%, 26%, 5%)

RGB channels and saturation

R 5 of 255 = 2%
G 66 of 255 = 26%
B 12 of 255 = 5%

5
66
12

R + G + B ~ 11%. #05420C is dark color.

Portions of RGB colors in percentages

R + G + B = 5 + 66 + 12 = 83 (100%)
R 5 of 83 ~ 6.02%
G 66 of 83 ~ 79.52%
B 12 of 83 ~ 14.46'%

%79.52
%14.46

CMYK color model

#05420C color CMYK value is (92,0,82,74).

  • cyan value is 92.42%
  • magenta value is 0.00%
  • yellow value is 81.82%
  • key color value is 74.12%

CMYK: (92,0,82,74)
C92M0Y82K74 (92%, 0%, 82%, 74%)
(0.92 / 0.00 / 0.82 / 0.74)

CMYK percentages

%92.42
%0
%81.82
%74.12

Codes

Color #05420C in popluar color models

05 42 0C
RGB 5 66 12
HSL 127° 85.92% 13.92%
HSB/HSV 127° 92.42% 25.88%
CMYK 92.42% 0.00% 81.82%
74.12%

Color #05420C in popluar number systems.

HEX 05 42 0C
Decimal 5 66 12
Binary 101 1000010 1100
Octal 5 102 14

Shades and tints

Shades of #05420C

#05420C
(5,66,12)
#053C0B
(5,60,11)
#05360A
(5,54,10)
#053009
(5,48,9)
#052A08
(5,42,8)
#052407
(5,36,7)
#051E06
(5,30,6)
#051805
(5,24,5)
#051204
(5,18,4)
#050C03
(5,12,3)
#050602
(5,6,2)
#000000
(0,0,0)

Tints of #05420C

#05420C
(5,66,12)
#1B5322
(27,83,34)
#316438
(49,100,56)
#47754E
(71,117,78)
#5D8664
(93,134,100)
#73977A
(115,151,122)
#89A890
(137,168,144)
#9FB9A6
(159,185,166)
#B5CABC
(181,202,188)
#CBDBD2
(203,219,210)
#E1ECE8
(225,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #05420C color. Also use rgb(5,66,12) instead hex code.

Text Font Color

.myTextColor { color: #05420C; }

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

This text font color is #05420C.

Background Color

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

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

This div background color is #05420C.

Border color

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

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

This div border color is #05420C.

Opacity

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

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

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

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

This text has shadow with #05420C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #05420C.

Preview

Color preview on black background

This text has color #05420C on black background.


Color preview on white background

This text has color #05420C on white background.


Black color preview on #05420C background

This text has black color on #05420C background.


White color preview on #05420C background

This text has white color on #05420C background.


Related colors

Complementary color

Complementary color for #hex is #FABDF3.


I love getcolorcode.com

Triadic colors

1 #0C0542 and #420C05 with #05420C are triadic colors.

2 #0C4205 and #42050C with #05420C are triadic colors.