COLOR #04040A

HEX: #04040A
RGB: (4,4,10)

Color info

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

RGB color model

#04040A color RGB value is (4,4,10).

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

RGB channels and saturation

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

4
4
10

R + G + B ~ 3%. #04040A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 4 + 10 = 18 (100%)
R 4 of 18 ~ 22.22%
G 4 of 18 ~ 22.22%
B 10 of 18 ~ 55.56%

%22.22
%22.22
%55.56

CMYK color model

#04040A color CMYK value is (60,60,0,96).

  • cyan value is 60.00%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 96.08%
CMYK:
(60,60,0,96)
C60M60Y0K96 
(60%,60%,0%,96%)
(0.60/0.60/0.00/0.96)	

CMYK percentages

%60
%60
%0
%96.08

Codes

Color #04040A in popluar color models

04040A
RGB4410
HSL240°42.86%2.75%
HSB/HSV240°60.00%3.92%
CMYK60.00%60.00%0.00%
96.08%

Color #04040A in popluar number systems.

HEX04040A
Decimal4410
Binary1001001010
Octal4412

Shades and tints

Tints of #04040A

#04040A
(4,4,10)
#1A1A20
(26,26,32)
#303036
(48,48,54)
#46464C
(70,70,76)
#5C5C62
(92,92,98)
#727278
(114,114,120)
#88888E
(136,136,142)
#9E9EA4
(158,158,164)
#B4B4BA
(180,180,186)
#CACAD0
(202,202,208)
#E0E0E6
(224,224,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04040A; }

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

This text font color is #04040A.


Background Color

.myBgColor { background-color: #04040A; }

<div style="background-color:#04040A">Inner text</div>

This div background color is #04040A.


Border color

.myBorderColor { border: 1px solid #04040A; }

<div style="border:3px solid #04040A">Div</div>

This div border color is #04040A.


Opacity

.myOpacity80 { color: #04040A; opacity: 0.8; }

<p style="color:#04040A;opacity:0.8;">80%</p>

Text with #04040A 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 #04040A;}

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

This text has shadow with #04040A color.

.textShadow {text-shadow: 3px 3px 1px #04040A, 3px 3px 1px red;}

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

This text has shadow with #04040A primary color and red secondary color.


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

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

This text has shadow with #04040A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04040A on black background.


Color preview on white background

This text has color #04040A on white background.



Black color preview on #04040A background

This text has black color on #04040A background.


White color preview on #04040A background

This text has white color on #04040A background.