COLOR #041F0C

HEX: #041F0C RGB: (4,31,12)

Color info

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

RGB color model

#041F0C color RGB value is (4,31,12).

RGB: (4,31,12) (2%, 12%, 5%)

RGB channels and saturation

R 4 of 255 = 2%
G 31 of 255 = 12%
B 12 of 255 = 5%

4
31
12

R + G + B ~ 6%. #041F0C is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 31 + 12 = 47 (100%)
R 4 of 47 ~ 8.51%
G 31 of 47 ~ 65.96%
B 12 of 47 ~ 25.53'%

%65.96
%25.53

CMYK color model

#041F0C color CMYK value is (87,0,61,88).

  • cyan value is 87.10%
  • magenta value is 0.00%
  • yellow value is 61.29%
  • key color value is 87.84%

CMYK: (87,0,61,88)
C87M0Y61K88 (87%, 0%, 61%, 88%)
(0.87 / 0.00 / 0.61 / 0.88)

CMYK percentages

%87.1
%0
%61.29
%87.84

Codes

Color #041F0C in popluar color models

04 1F 0C
RGB 4 31 12
HSL 138° 77.14% 6.86%
HSB/HSV 138° 87.10% 12.16%
CMYK 87.10% 0.00% 61.29%
87.84%

Color #041F0C in popluar number systems.

HEX 04 1F 0C
Decimal 4 31 12
Binary 100 11111 1100
Octal 4 37 14

Shades and tints

Shades of #041F0C

#041F0C
(4,31,12)
#041D0B
(4,29,11)
#041B0A
(4,27,10)
#041909
(4,25,9)
#041708
(4,23,8)
#041507
(4,21,7)
#041306
(4,19,6)
#041105
(4,17,5)
#040F04
(4,15,4)
#040D03
(4,13,3)
#040B02
(4,11,2)
#000000
(0,0,0)

Tints of #041F0C

#041F0C
(4,31,12)
#1A3322
(26,51,34)
#304738
(48,71,56)
#465B4E
(70,91,78)
#5C6F64
(92,111,100)
#72837A
(114,131,122)
#889790
(136,151,144)
#9EABA6
(158,171,166)
#B4BFBC
(180,191,188)
#CAD3D2
(202,211,210)
#E0E7E8
(224,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #041F0C; }

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

This text font color is #041F0C.

Background Color

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

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

This div background color is #041F0C.

Border color

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

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

This div border color is #041F0C.

Opacity

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

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

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

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

This text has shadow with #041F0C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #041F0C.

Preview

Color preview on black background

This text has color #041F0C on black background.


Color preview on white background

This text has color #041F0C on white background.


Black color preview on #041F0C background

This text has black color on #041F0C background.


White color preview on #041F0C background

This text has white color on #041F0C background.


Related colors

Complementary color

Complementary color for #hex is #FBE0F3.


I love getcolorcode.com

Triadic colors

1 #0C041F and #1F0C04 with #041F0C are triadic colors.

2 #0C1F04 and #1F040C with #041F0C are triadic colors.