COLOR #040D0A

HEX: #040D0A
RGB: (4,13,10)

Color info

#040D0A contains red, green and blue colors in about the same proportion. Web safe color of #040D0A is #000000 (or #000).

RGB color model

#040D0A color RGB value is (4,13,10).

  • red value is 4;
  • green value is 13;
  • blue value is 10.
RGB:
(4,13,10)
(2%,5%,4%)

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 10 of 255 = 4%

4
13
10

R + G + B ~ 4%. #040D0A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 13 + 10 = 27 (100%)
R 4 of 27 ~ 14.81%
G 13 of 27 ~ 48.15%
B 10 of 27 ~ 37.04%

%14.81
%48.15
%37.04

CMYK color model

#040D0A color CMYK value is (69,0,23,95).

  • cyan value is 69.23%
  • magenta value is 0.00%
  • yellow value is 23.08%
  • key color value is 94.90%
CMYK:
(69,0,23,95)
C69M0Y23K95 
(69%,0%,23%,95%)
(0.69/0.00/0.23/0.95)	

CMYK percentages

%69.23
%0
%23.08
%94.9

Codes

Color #040D0A in popluar color models

040D0A
RGB41310
HSL160°52.94%3.33%
HSB/HSV160°69.23%5.10%
CMYK69.23%0.00%23.08%
94.90%

Color #040D0A in popluar number systems.

HEX040D0A
Decimal41310
Binary10011011010
Octal41512

Shades and tints

Shades of #040D0A

#040D0A
(4,13,10)
#040C0A
(4,12,10)
#040B0A
(4,11,10)
#040A0A
(4,10,10)
#04090A
(4,9,10)
#04080A
(4,8,10)
#04070A
(4,7,10)
#04060A
(4,6,10)
#04050A
(4,5,10)
#04040A
(4,4,10)
#04030A
(4,3,10)
#000000
(0,0,0)

Tints of #040D0A

#040D0A
(4,13,10)
#1A2320
(26,35,32)
#303936
(48,57,54)
#464F4C
(70,79,76)
#5C6562
(92,101,98)
#727B78
(114,123,120)
#88918E
(136,145,142)
#9EA7A4
(158,167,164)
#B4BDBA
(180,189,186)
#CAD3D0
(202,211,208)
#E0E9E6
(224,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040D0A color. Also use rgb(4,13,10) instead hex code.

Text Font Color

.myTextColor { color: #040D0A; }

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

This text font color is #040D0A.


Background Color

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

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

This div background color is #040D0A.


Border color

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

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

This div border color is #040D0A.


Opacity

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

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

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

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

This text has shadow with #040D0A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040D0A on black background.


Color preview on white background

This text has color #040D0A on white background.



Black color preview on #040D0A background

This text has black color on #040D0A background.


White color preview on #040D0A background

This text has white color on #040D0A background.