COLOR #040A02

HEX: #040A02 RGB: (4,10,2)

Color info

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

RGB color model

#040A02 color RGB value is (4,10,2).

RGB: (4,10,2) (2%, 4%, 1%)

RGB channels and saturation

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

4
10
2

R + G + B ~ 2%. #040A02 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 10 + 2 = 16 (100%)
R 4 of 16 ~ 25%
G 10 of 16 ~ 62.5%
B 2 of 16 ~ 12.5'%

%25
%62.5
%12.5

CMYK color model

#040A02 color CMYK value is (60,0,80,96).

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

CMYK percentages

%60
%0
%80
%96.08

Codes

Color #040A02 in popluar color models

04 0A 02
RGB 4 10 2
HSL 105° 66.67% 2.35%
HSB/HSV 105° 80.00% 3.92%
CMYK 60.00% 0.00% 80.00%
96.08%

Color #040A02 in popluar number systems.

HEX 04 0A 02
Decimal 4 10 2
Binary 100 1010 10
Octal 4 12 2

Shades and tints

Tints of #040A02

#040A02
(4,10,2)
#1A2019
(26,32,25)
#303630
(48,54,48)
#464C47
(70,76,71)
#5C625E
(92,98,94)
#727875
(114,120,117)
#888E8C
(136,142,140)
#9EA4A3
(158,164,163)
#B4BABA
(180,186,186)
#CAD0D1
(202,208,209)
#E0E6E8
(224,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A02; }

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

This text font color is #040A02.

Background Color

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

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

This div background color is #040A02.

Border color

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

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

This div border color is #040A02.

Opacity

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

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

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

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

This text has shadow with #040A02 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040A02.

Preview

Color preview on black background

This text has color #040A02 on black background.


Color preview on white background

This text has color #040A02 on white background.


Black color preview on #040A02 background

This text has black color on #040A02 background.


White color preview on #040A02 background

This text has white color on #040A02 background.


Related colors

Complementary color

Complementary color for #hex is #FBF5FD.


I love getcolorcode.com

Triadic colors

1 #02040A and #0A0204 with #040A02 are triadic colors.

2 #020A04 and #0A0402 with #040A02 are triadic colors.