COLOR #404030

HEX: #404030 RGB: (64,64,48)

Color info

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

RGB color model

#404030 color RGB value is (64,64,48).

RGB: (64,64,48) (25%, 25%, 19%)

RGB channels and saturation

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

64
64
48

R + G + B ~ 23%. #404030 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 64 + 48 = 176 (100%)
R 64 of 176 ~ 36.36%
G 64 of 176 ~ 36.36%
B 48 of 176 ~ 27.27'%

%36.36
%36.36
%27.27

CMYK color model

#404030 color CMYK value is (0,0,25,75).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 74.90%

CMYK: (0,0,25,75)
C0M0Y25K75 (0%, 0%, 25%, 75%)
(0.00 / 0.00 / 0.25 / 0.75)

CMYK percentages

%0
%0
%25
%74.9

Codes

Color #404030 in popluar color models

40 40 30
RGB 64 64 48
HSL 60° 14.29% 21.96%
HSB/HSV 60° 25.00% 25.10%
CMYK 0.00% 0.00% 25.00%
74.90%

Color #404030 in popluar number systems.

HEX 40 40 30
Decimal 64 64 48
Binary 1000000 1000000 110000
Octal 100 100 60

Shades and tints

Shades of #404030

#404030
(64,64,48)
#3B3B2C
(59,59,44)
#363628
(54,54,40)
#313124
(49,49,36)
#2C2C20
(44,44,32)
#27271C
(39,39,28)
#222218
(34,34,24)
#1D1D14
(29,29,20)
#181810
(24,24,16)
#13130C
(19,19,12)
#0E0E08
(14,14,8)
#000000
(0,0,0)

Tints of #404030

#404030
(64,64,48)
#515142
(81,81,66)
#626254
(98,98,84)
#737366
(115,115,102)
#848478
(132,132,120)
#95958A
(149,149,138)
#A6A69C
(166,166,156)
#B7B7AE
(183,183,174)
#C8C8C0
(200,200,192)
#D9D9D2
(217,217,210)
#EAEAE4
(234,234,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #404030; }

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

This text font color is #404030.

Background Color

.myBgColor { background-color: #404030; }

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

This div background color is #404030.

Border color

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

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

This div border color is #404030.

Opacity

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

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

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

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

This text has shadow with #404030 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #404030.

Preview

Color preview on black background

This text has color #404030 on black background.


Color preview on white background

This text has color #404030 on white background.


Black color preview on #404030 background

This text has black color on #404030 background.


White color preview on #404030 background

This text has white color on #404030 background.


Related colors

Complementary color

Complementary color for #hex is #BFBFCF.


I love getcolorcode.com