COLOR #042F0C

HEX: #042F0C
RGB: (4,47,12)

Color info

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

RGB color model

#042F0C color RGB value is (4,47,12).

  • red value is 4;
  • green value is 47;
  • blue value is 12.
RGB:
(4,47,12)
(2%,18%,5%)

RGB channels and saturation

R 4 of 255 = 2%
G 47 of 255 = 18%
B 12 of 255 = 5%

4
47
12

R + G + B ~ 8%. #042F0C is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 47 + 12 = 63 (100%)
R 4 of 63 ~ 6.35%
G 47 of 63 ~ 74.6%
B 12 of 63 ~ 19.05%

%74.6
%19.05

CMYK color model

#042F0C color CMYK value is (91,0,74,82).

  • cyan value is 91.49%
  • magenta value is 0.00%
  • yellow value is 74.47%
  • key color value is 81.57%
CMYK:
(91,0,74,82)
C91M0Y74K82 
(91%,0%,74%,82%)
(0.91/0.00/0.74/0.82)	

CMYK percentages

%91.49
%0
%74.47
%81.57

Codes

Color #042F0C in popluar color models

042F0C
RGB44712
HSL131°84.31%10.00%
HSB/HSV131°91.49%18.43%
CMYK91.49%0.00%74.47%
81.57%

Color #042F0C in popluar number systems.

HEX042F0C
Decimal44712
Binary1001011111100
Octal45714

Shades and tints

Shades of #042F0C

#042F0C
(4,47,12)
#042B0B
(4,43,11)
#04270A
(4,39,10)
#042309
(4,35,9)
#041F08
(4,31,8)
#041B07
(4,27,7)
#041706
(4,23,6)
#041305
(4,19,5)
#040F04
(4,15,4)
#040B03
(4,11,3)
#040702
(4,7,2)
#000000
(0,0,0)

Tints of #042F0C

#042F0C
(4,47,12)
#1A4122
(26,65,34)
#305338
(48,83,56)
#46654E
(70,101,78)
#5C7764
(92,119,100)
#72897A
(114,137,122)
#889B90
(136,155,144)
#9EADA6
(158,173,166)
#B4BFBC
(180,191,188)
#CAD1D2
(202,209,210)
#E0E3E8
(224,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042F0C color. Also use rgb(4,47,12) instead hex code.

Text Font Color

.myTextColor { color: #042F0C; }

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

This text font color is #042F0C.


Background Color

.myBgColor { background-color: #042F0C; }

<div style="background-color:#042F0C">Inner text</div>

This div background color is #042F0C.


Border color

.myBorderColor { border: 1px solid #042F0C; }

<div style="border:3px solid #042F0C">Div</div>

This div border color is #042F0C.


Opacity

.myOpacity80 { color: #042F0C; opacity: 0.8; }

<p style="color:#042F0C;opacity:0.8;">80%</p>

Text with #042F0C 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 #042F0C;}

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

This text has shadow with #042F0C color.

.textShadow {text-shadow: 3px 3px 1px #042F0C, 3px 3px 1px red;}

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

This text has shadow with #042F0C primary color and red secondary color.


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

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

This text has shadow with #042F0C and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #042F0C;
-webkit-box-shadow: 1px 1px 3px 2px #042F0C;
box-shadow:1px 1px 3px 2px #042F0C;">
Div content here</div>
This div box has shadow with color #042F0C.

Preview

Color preview on black background

This text has color #042F0C on black background.


Color preview on white background

This text has color #042F0C on white background.



Black color preview on #042F0C background

This text has black color on #042F0C background.


White color preview on #042F0C background

This text has white color on #042F0C background.