COLOR #040305

HEX: #040305
RGB: (4,3,5)

Color info

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

RGB color model

#040305 color RGB value is (4,3,5).

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

RGB channels and saturation

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

4
3
5

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

Portions of RGB colors in percentages

R + G + B =
4 + 3 + 5 = 12 (100%)
R 4 of 12 ~ 33.33%
G 3 of 12 ~ 25%
B 5 of 12 ~ 41.67%

%33.33
%25
%41.67

CMYK color model

#040305 color CMYK value is (20,40,0,98).

  • cyan value is 20.00%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 98.04%
CMYK:
(20,40,0,98)
C20M40Y0K98 
(20%,40%,0%,98%)
(0.20/0.40/0.00/0.98)	

CMYK percentages

%20
%40
%0
%98.04

Codes

Color #040305 in popluar color models

040305
RGB435
HSL270°25.00%1.57%
HSB/HSV270°40.00%1.96%
CMYK20.00%40.00%0.00%
98.04%

Color #040305 in popluar number systems.

HEX040305
Decimal435
Binary10011101
Octal435

Shades and tints

Tints of #040305

#040305
(4,3,5)
#1A191B
(26,25,27)
#302F31
(48,47,49)
#464547
(70,69,71)
#5C5B5D
(92,91,93)
#727173
(114,113,115)
#888789
(136,135,137)
#9E9D9F
(158,157,159)
#B4B3B5
(180,179,181)
#CAC9CB
(202,201,203)
#E0DFE1
(224,223,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040305 color. Also use rgb(4,3,5) instead hex code.

Text Font Color

.myTextColor { color: #040305; }

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

This text font color is #040305.


Background Color

.myBgColor { background-color: #040305; }

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

This div background color is #040305.


Border color

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

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

This div border color is #040305.


Opacity

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

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

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

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

This text has shadow with #040305 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040305 on black background.


Color preview on white background

This text has color #040305 on white background.



Black color preview on #040305 background

This text has black color on #040305 background.


White color preview on #040305 background

This text has white color on #040305 background.