COLOR #04080A

HEX: #04080A
RGB: (4,8,10)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

4
8
10

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

Portions of RGB colors in percentages

R + G + B =
4 + 8 + 10 = 22 (100%)
R 4 of 22 ~ 18.18%
G 8 of 22 ~ 36.36%
B 10 of 22 ~ 45.45%

%18.18
%36.36
%45.45

CMYK color model

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

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

CMYK percentages

%60
%20
%0
%96.08

Codes

Color #04080A in popluar color models

04080A
RGB4810
HSL200°42.86%2.75%
HSB/HSV200°60.00%3.92%
CMYK60.00%20.00%0.00%
96.08%

Color #04080A in popluar number systems.

HEX04080A
Decimal4810
Binary10010001010
Octal41012

Shades and tints

Tints of #04080A

#04080A
(4,8,10)
#1A1E20
(26,30,32)
#303436
(48,52,54)
#464A4C
(70,74,76)
#5C6062
(92,96,98)
#727678
(114,118,120)
#888C8E
(136,140,142)
#9EA2A4
(158,162,164)
#B4B8BA
(180,184,186)
#CACED0
(202,206,208)
#E0E4E6
(224,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04080A; }

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

This text font color is #04080A.


Background Color

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

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

This div background color is #04080A.


Border color

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

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

This div border color is #04080A.


Opacity

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

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

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

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

This text has shadow with #04080A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04080A on black background.


Color preview on white background

This text has color #04080A on white background.



Black color preview on #04080A background

This text has black color on #04080A background.


White color preview on #04080A background

This text has white color on #04080A background.