COLOR #040702

HEX: #040702 RGB: (4,7,2)

Color info

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

RGB color model

#040702 color RGB value is (4,7,2).

RGB: (4,7,2) (2%, 3%, 1%)

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 2 of 255 = 1%

4
7
2

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

Portions of RGB colors in percentages

R + G + B = 4 + 7 + 2 = 13 (100%)
R 4 of 13 ~ 30.77%
G 7 of 13 ~ 53.85%
B 2 of 13 ~ 15.38'%

%30.77
%53.85
%15.38

CMYK color model

#040702 color CMYK value is (43,0,71,97).

  • cyan value is 42.86%
  • magenta value is 0.00%
  • yellow value is 71.43%
  • key color value is 97.25%

CMYK: (43,0,71,97)
C43M0Y71K97 (43%, 0%, 71%, 97%)
(0.43 / 0.00 / 0.71 / 0.97)

CMYK percentages

%42.86
%0
%71.43
%97.25

Codes

Color #040702 in popluar color models

04 07 02
RGB 4 7 2
HSL 96° 55.56% 1.76%
HSB/HSV 96° 71.43% 2.75%
CMYK 42.86% 0.00% 71.43%
97.25%

Color #040702 in popluar number systems.

HEX 04 07 02
Decimal 4 7 2
Binary 100 111 10
Octal 4 7 2

Shades and tints

Tints of #040702

#040702
(4,7,2)
#1A1D19
(26,29,25)
#303330
(48,51,48)
#464947
(70,73,71)
#5C5F5E
(92,95,94)
#727575
(114,117,117)
#888B8C
(136,139,140)
#9EA1A3
(158,161,163)
#B4B7BA
(180,183,186)
#CACDD1
(202,205,209)
#E0E3E8
(224,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040702; }

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

This text font color is #040702.

Background Color

.myBgColor { background-color: #040702; }

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

This div background color is #040702.

Border color

.myBorderColor { border: 1px solid #040702; }

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

This div border color is #040702.

Opacity

.myOpacity80 { color: #040702; opacity: 0.8; }

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

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

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

This text has shadow with #040702 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040702.

Preview

Color preview on black background

This text has color #040702 on black background.


Color preview on white background

This text has color #040702 on white background.


Black color preview on #040702 background

This text has black color on #040702 background.


White color preview on #040702 background

This text has white color on #040702 background.


Related colors

Complementary color

Complementary color for #hex is #FBF8FD.


I love getcolorcode.com

Triadic colors

1 #020407 and #070204 with #040702 are triadic colors.

2 #020704 and #070402 with #040702 are triadic colors.