COLOR #040107

HEX: #040107 RGB: (4,1,7)

Color info

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

RGB color model

#040107 color RGB value is (4,1,7).

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

RGB channels and saturation

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

4
1
7

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

Portions of RGB colors in percentages

R + G + B = 4 + 1 + 7 = 12 (100%)
R 4 of 12 ~ 33.33%
G 1 of 12 ~ 8.33%
B 7 of 12 ~ 58.33'%

%33.33
%58.33

CMYK color model

#040107 color CMYK value is (43,86,0,97).

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

CMYK: (43,86,0,97)
C43M86Y0K97 (43%, 86%, 0%, 97%)
(0.43 / 0.86 / 0.00 / 0.97)

CMYK percentages

%42.86
%85.71
%0
%97.25

Codes

Color #040107 in popluar color models

04 01 07
RGB 4 1 7
HSL 270° 75.00% 1.57%
HSB/HSV 270° 85.71% 2.75%
CMYK 42.86% 85.71% 0.00%
97.25%

Color #040107 in popluar number systems.

HEX 04 01 07
Decimal 4 1 7
Binary 100 1 111
Octal 4 1 7

Shades and tints

Tints of #040107

#040107
(4,1,7)
#1A181D
(26,24,29)
#302F33
(48,47,51)
#464649
(70,70,73)
#5C5D5F
(92,93,95)
#727475
(114,116,117)
#888B8B
(136,139,139)
#9EA2A1
(158,162,161)
#B4B9B7
(180,185,183)
#CAD0CD
(202,208,205)
#E0E7E3
(224,231,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040107; }

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

This text font color is #040107.

Background Color

.myBgColor { background-color: #040107; }

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

This div background color is #040107.

Border color

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

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

This div border color is #040107.

Opacity

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

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

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

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

This text has shadow with #040107 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040107.

Preview

Color preview on black background

This text has color #040107 on black background.


Color preview on white background

This text has color #040107 on white background.


Black color preview on #040107 background

This text has black color on #040107 background.


White color preview on #040107 background

This text has white color on #040107 background.


Related colors

Complementary color

Complementary color for #hex is #FBFEF8.


I love getcolorcode.com

Triadic colors

1 #070401 and #010704 with #040107 are triadic colors.

2 #070104 and #010407 with #040107 are triadic colors.