COLOR #040F00

HEX: #040F00 RGB: (4,15,0)

Color info

#040F00 contains only red and green colors. Web safe color of #040F00 is #000000 (or #000).

RGB color model

#040F00 color RGB value is (4,15,0).

RGB: (4,15,0) (2%, 6%, 0%)

RGB channels and saturation

R 4 of 255 = 2%
G 15 of 255 = 6%
B 0 of 255 = 0%

4
15
0

R + G + B ~ 3%. #040F00 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 15 + 0 = 19 (100%)
R 4 of 19 ~ 21.05%
G 15 of 19 ~ 78.95%
B 0 of 19 ~ 0'%

%21.05
%78.95

CMYK color model

#040F00 color CMYK value is (73,0,100,94).

  • cyan value is 73.33%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 94.12%

CMYK: (73,0,100,94)
C73M0Y100K94 (73%, 0%, 100%, 94%)
(0.73 / 0.00 / 1.00 / 0.94)

CMYK percentages

%73.33
%0
%100
%94.12

Codes

Color #040F00 in popluar color models

04 0F 00
RGB 4 15 0
HSL 104° 100.00% 2.94%
HSB/HSV 104° 100.00% 5.88%
CMYK 73.33% 0.00% 100.00%
94.12%

Color #040F00 in popluar number systems.

HEX 04 0F 00
Decimal 4 15 0
Binary 100 1111 0
Octal 4 17 0

Shades and tints

Shades of #040F00

#040F00
(4,15,0)
#040E00
(4,14,0)
#040D00
(4,13,0)
#040C00
(4,12,0)
#040B00
(4,11,0)
#040A00
(4,10,0)
#040900
(4,9,0)
#040800
(4,8,0)
#040700
(4,7,0)
#040600
(4,6,0)
#040500
(4,5,0)
#000000
(0,0,0)

Tints of #040F00

#040F00
(4,15,0)
#1A2417
(26,36,23)
#30392E
(48,57,46)
#464E45
(70,78,69)
#5C635C
(92,99,92)
#727873
(114,120,115)
#888D8A
(136,141,138)
#9EA2A1
(158,162,161)
#B4B7B8
(180,183,184)
#CACCCF
(202,204,207)
#E0E1E6
(224,225,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040F00 color. Also use rgb(4,15,0) instead hex code.

Text Font Color

.myTextColor { color: #040F00; }

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

This text font color is #040F00.

Background Color

.myBgColor { background-color: #040F00; }

<div style="background-color:#040F00">Inner text</div>

This div background color is #040F00.

Border color

.myBorderColor { border: 1px solid #040F00; }

<div style="border:3px solid #040F00">Div</div>

This div border color is #040F00.

Opacity

.myOpacity80 { color: #040F00; opacity: 0.8; }

<p style="color:#040F00;opacity:0.8;">80%</p>

Text with #040F00 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 #040F00;}

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

This text has shadow with #040F00 color.


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

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

This text has shadow with #040F00 primary color and red secondary color.


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

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

This text has shadow with #040F00 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #040F00.

Preview

Color preview on black background

This text has color #040F00 on black background.


Color preview on white background

This text has color #040F00 on white background.


Black color preview on #040F00 background

This text has black color on #040F00 background.


White color preview on #040F00 background

This text has white color on #040F00 background.


Related colors

Complementary color

Complementary color for #hex is #FBF0FF.


I love getcolorcode.com

Triadic colors

1 #00040F and #0F0004 with #040F00 are triadic colors.

2 #000F04 and #0F0400 with #040F00 are triadic colors.