COLOR #040721

HEX: #040721
RGB: (4,7,33)

Color info

#040721 contains red, green and blue colors in about the same proportion. Web safe color of #040721 is #000033 (or #003).

RGB color model

#040721 color RGB value is (4,7,33).

  • red value is 4;
  • green value is 7;
  • blue value is 33.
RGB: (4,7,33) (2%,3%,13%)

RGB channels and saturation

R 4 of 255 = 2%
G 7 of 255 = 3%
B 33 of 255 = 13%

4
7
33

R + G + B ~ 6%. #040721 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 7 + 33 = 44 (100%)
R 4 of 44 ~ 9.09%
G 7 of 44 ~ 15.91%
B 33 of 44 ~ 75%

%15.91
%75

CMYK color model

#040721 color CMYK value is (88,79,0,87).

  • cyan value is 87.88%
  • magenta value is 78.79%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK: (88,79,0,87) C88M79Y0K87 (88%,79%,0%,87%) (0.88/0.79/0.00/0.87)

CMYK percentages

%87.88
%78.79
%0
%87.06

Codes

Color #040721 in popluar color models

040721
RGB4733
HSL234°78.38%7.25%
HSB/HSV234°87.88%12.94%
CMYK87.88%78.79%0.00%
87.06%

Color #040721 in popluar number systems.

HEX040721
Decimal4733
Binary100111100001
Octal4741

Shades and tints

Shades of #040721

#040721
(4,7,33)
#04071E
(4,7,30)
#04071B
(4,7,27)
#040718
(4,7,24)
#040715
(4,7,21)
#040712
(4,7,18)
#04070F
(4,7,15)
#04070C
(4,7,12)
#040709
(4,7,9)
#040706
(4,7,6)
#040703
(4,7,3)
#000000
(0,0,0)

Tints of #040721

#040721
(4,7,33)
#1A1D35
(26,29,53)
#303349
(48,51,73)
#46495D
(70,73,93)
#5C5F71
(92,95,113)
#727585
(114,117,133)
#888B99
(136,139,153)
#9EA1AD
(158,161,173)
#B4B7C1
(180,183,193)
#CACDD5
(202,205,213)
#E0E3E9
(224,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040721; }

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

This text font color is #040721.


Background Color

.myBgColor { background-color: #040721; }

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

This div background color is #040721.


Border color

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

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

This div border color is #040721.


Opacity

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

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

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

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

This text has shadow with #040721 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #040721 on black background.


Color preview on white background

This text has color #040721 on white background.



Black color preview on #040721 background

This text has black color on #040721 background.


White color preview on #040721 background

This text has white color on #040721 background.