COLOR #402520

HEX: #402520 RGB: (64,37,32)

Color info

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

RGB color model

#402520 color RGB value is (64,37,32).

RGB: (64,37,32) (25%, 15%, 13%)

RGB channels and saturation

R 64 of 255 = 25%
G 37 of 255 = 15%
B 32 of 255 = 13%

64
37
32

R + G + B ~ 18%. #402520 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 37 + 32 = 133 (100%)
R 64 of 133 ~ 48.12%
G 37 of 133 ~ 27.82%
B 32 of 133 ~ 24.06'%

%48.12
%27.82
%24.06

CMYK color model

#402520 color CMYK value is (0,42,50,75).

  • cyan value is 0.00%
  • magenta value is 42.19%
  • yellow value is 50.00%
  • key color value is 74.90%

CMYK: (0,42,50,75)
C0M42Y50K75 (0%, 42%, 50%, 75%)
(0.00 / 0.42 / 0.50 / 0.75)

CMYK percentages

%0
%42.19
%50
%74.9

Codes

Color #402520 in popluar color models

40 25 20
RGB 64 37 32
HSL 33.33% 18.82%
HSB/HSV 50.00% 25.10%
CMYK 0.00% 42.19% 50.00%
74.90%

Color #402520 in popluar number systems.

HEX 40 25 20
Decimal 64 37 32
Binary 1000000 100101 100000
Octal 100 45 40

Shades and tints

Shades of #402520

#402520
(64,37,32)
#3B221E
(59,34,30)
#361F1C
(54,31,28)
#311C1A
(49,28,26)
#2C1918
(44,25,24)
#271616
(39,22,22)
#221314
(34,19,20)
#1D1012
(29,16,18)
#180D10
(24,13,16)
#130A0E
(19,10,14)
#0E070C
(14,7,12)
#000000
(0,0,0)

Tints of #402520

#402520
(64,37,32)
#513834
(81,56,52)
#624B48
(98,75,72)
#735E5C
(115,94,92)
#847170
(132,113,112)
#958484
(149,132,132)
#A69798
(166,151,152)
#B7AAAC
(183,170,172)
#C8BDC0
(200,189,192)
#D9D0D4
(217,208,212)
#EAE3E8
(234,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402520; }

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

This text font color is #402520.

Background Color

.myBgColor { background-color: #402520; }

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

This div background color is #402520.

Border color

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

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

This div border color is #402520.

Opacity

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

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

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

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

This text has shadow with #402520 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402520.

Preview

Color preview on black background

This text has color #402520 on black background.


Color preview on white background

This text has color #402520 on white background.


Black color preview on #402520 background

This text has black color on #402520 background.


White color preview on #402520 background

This text has white color on #402520 background.


Related colors

Complementary color

Complementary color for #hex is #BFDADF.


I love getcolorcode.com

Triadic colors

1 #204025 and #252040 with #402520 are triadic colors.

2 #202540 and #254020 with #402520 are triadic colors.