COLOR #402C0F

HEX: #402C0F
RGB: (64,44,15)

Color info

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

RGB color model

#402C0F color RGB value is (64,44,15).

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

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 15 of 255 = 6%

64
44
15

R + G + B ~ 16%. #402C0F is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 44 + 15 = 123 (100%)
R 64 of 123 ~ 52.03%
G 44 of 123 ~ 35.77%
B 15 of 123 ~ 12.2%

%52.03
%35.77
%12.2

CMYK color model

#402C0F color CMYK value is (0,31,77,75).

  • cyan value is 0.00%
  • magenta value is 31.25%
  • yellow value is 76.56%
  • key color value is 74.90%
CMYK:
(0,31,77,75)
C0M31Y77K75 
(0%,31%,77%,75%)
(0.00/0.31/0.77/0.75)	

CMYK percentages

%0
%31.25
%76.56
%74.9

Codes

Color #402C0F in popluar color models

402C0F
RGB644415
HSL36°62.03%15.49%
HSB/HSV36°76.56%25.10%
CMYK0.00%31.25%76.56%
74.90%

Color #402C0F in popluar number systems.

HEX402C0F
Decimal644415
Binary10000001011001111
Octal1005417

Shades and tints

Shades of #402C0F

#402C0F
(64,44,15)
#3B280E
(59,40,14)
#36240D
(54,36,13)
#31200C
(49,32,12)
#2C1C0B
(44,28,11)
#27180A
(39,24,10)
#221409
(34,20,9)
#1D1008
(29,16,8)
#180C07
(24,12,7)
#130806
(19,8,6)
#0E0405
(14,4,5)
#000000
(0,0,0)

Tints of #402C0F

#402C0F
(64,44,15)
#513F24
(81,63,36)
#625239
(98,82,57)
#73654E
(115,101,78)
#847863
(132,120,99)
#958B78
(149,139,120)
#A69E8D
(166,158,141)
#B7B1A2
(183,177,162)
#C8C4B7
(200,196,183)
#D9D7CC
(217,215,204)
#EAEAE1
(234,234,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C0F; }

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

This text font color is #402C0F.


Background Color

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

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

This div background color is #402C0F.


Border color

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

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

This div border color is #402C0F.


Opacity

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

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

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

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

This text has shadow with #402C0F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402C0F on black background.


Color preview on white background

This text has color #402C0F on white background.



Black color preview on #402C0F background

This text has black color on #402C0F background.


White color preview on #402C0F background

This text has white color on #402C0F background.