COLOR #404040

HEX: #404040
RGB: (64,64,64)

Color info

#404040 contains red, green and blue colors in about the same proportion. Web safe color of #404040 is #333333 (or #333).

RGB color model

#404040 color RGB value is (64,64,64).

  • red value is 64;
  • green value is 64;
  • blue value is 64.
RGB:
(64,64,64)
(25%,25%,25%)

RGB channels and saturation

R 64 of 255 = 25%
G 64 of 255 = 25%
B 64 of 255 = 25%

64
64
64

R + G + B ~ 25%. #404040 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 64 + 64 = 192 (100%)
R 64 of 192 ~ 33.33%
G 64 of 192 ~ 33.33%
B 64 of 192 ~ 33.33%

%33.33
%33.33
%33.33

CMYK color model

#404040 color CMYK value is (0,0,0,75).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(0,0,0,75)
C0M0Y0K75 
(0%,0%,0%,75%)
(0.00/0.00/0.00/0.75)	

CMYK percentages

%0
%0
%0
%74.9

Codes

Color #404040 in popluar color models

404040
RGB646464
HSL0.00%0.25%
HSB/HSV0.00%0.25%
CMYK0.00%0.00%0.00%
74.90%

Color #404040 in popluar number systems.

HEX404040
Decimal646464
Binary100000010000001000000
Octal100100100

Shades and tints

Shades of #404040

#404040
(64,64,64)
#3B3B3B
(59,59,59)
#363636
(54,54,54)
#313131
(49,49,49)
#2C2C2C
(44,44,44)
#272727
(39,39,39)
#222222
(34,34,34)
#1D1D1D
(29,29,29)
#181818
(24,24,24)
#131313
(19,19,19)
#0E0E0E
(14,14,14)
#000000
(0,0,0)

Tints of #404040

#404040
(64,64,64)
#515151
(81,81,81)
#626262
(98,98,98)
#737373
(115,115,115)
#848484
(132,132,132)
#959595
(149,149,149)
#A6A6A6
(166,166,166)
#B7B7B7
(183,183,183)
#C8C8C8
(200,200,200)
#D9D9D9
(217,217,217)
#EAEAEA
(234,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #404040 color. Also use rgb(64,64,64) instead hex code.

Text Font Color

.myTextColor { color: #404040; }

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

This text font color is #404040.


Background Color

.myBgColor { background-color: #404040; }

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

This div background color is #404040.


Border color

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

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

This div border color is #404040.


Opacity

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

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

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

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

This text has shadow with #404040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #404040 on black background.


Color preview on white background

This text has color #404040 on white background.



Black color preview on #404040 background

This text has black color on #404040 background.


White color preview on #404040 background

This text has white color on #404040 background.