COLOR #402D15

HEX: #402D15
RGB: (64,45,21)

Color info

#402D15 contains red, green and blue colors in about the same proportion. Web safe color of #402D15 is #333300 (or #330).

RGB color model

#402D15 color RGB value is (64,45,21).

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

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 21 of 255 = 8%

64
45
21

R + G + B ~ 17%. #402D15 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 45 + 21 = 130 (100%)
R 64 of 130 ~ 49.23%
G 45 of 130 ~ 34.62%
B 21 of 130 ~ 16.15%

%49.23
%34.62
%16.15

CMYK color model

#402D15 color CMYK value is (0,30,67,75).

  • cyan value is 0.00%
  • magenta value is 29.69%
  • yellow value is 67.19%
  • key color value is 74.90%
CMYK:
(0,30,67,75)
C0M30Y67K75 
(0%,30%,67%,75%)
(0.00/0.30/0.67/0.75)	

CMYK percentages

%0
%29.69
%67.19
%74.9

Codes

Color #402D15 in popluar color models

402D15
RGB644521
HSL33°50.59%16.67%
HSB/HSV33°67.19%25.10%
CMYK0.00%29.69%67.19%
74.90%

Color #402D15 in popluar number systems.

HEX402D15
Decimal644521
Binary100000010110110101
Octal1005525

Shades and tints

Shades of #402D15

#402D15
(64,45,21)
#3B2914
(59,41,20)
#362513
(54,37,19)
#312112
(49,33,18)
#2C1D11
(44,29,17)
#271910
(39,25,16)
#22150F
(34,21,15)
#1D110E
(29,17,14)
#180D0D
(24,13,13)
#13090C
(19,9,12)
#0E050B
(14,5,11)
#000000
(0,0,0)

Tints of #402D15

#402D15
(64,45,21)
#51402A
(81,64,42)
#62533F
(98,83,63)
#736654
(115,102,84)
#847969
(132,121,105)
#958C7E
(149,140,126)
#A69F93
(166,159,147)
#B7B2A8
(183,178,168)
#C8C5BD
(200,197,189)
#D9D8D2
(217,216,210)
#EAEBE7
(234,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402D15; }

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

This text font color is #402D15.


Background Color

.myBgColor { background-color: #402D15; }

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

This div background color is #402D15.


Border color

.myBorderColor { border: 1px solid #402D15; }

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

This div border color is #402D15.


Opacity

.myOpacity80 { color: #402D15; opacity: 0.8; }

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

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

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

This text has shadow with #402D15 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402D15 on black background.


Color preview on white background

This text has color #402D15 on white background.



Black color preview on #402D15 background

This text has black color on #402D15 background.


White color preview on #402D15 background

This text has white color on #402D15 background.