COLOR #402C0C

HEX: #402C0C
RGB: (64,44,12)

Color info

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

RGB color model

#402C0C color RGB value is (64,44,12).

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

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 12 of 255 = 5%

64
44
12

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

Portions of RGB colors in percentages

R + G + B =
64 + 44 + 12 = 120 (100%)
R 64 of 120 ~ 53.33%
G 44 of 120 ~ 36.67%
B 12 of 120 ~ 10%

%53.33
%36.67
%10

CMYK color model

#402C0C color CMYK value is (0,31,81,75).

  • cyan value is 0.00%
  • magenta value is 31.25%
  • yellow value is 81.25%
  • key color value is 74.90%
CMYK:
(0,31,81,75)
C0M31Y81K75 
(0%,31%,81%,75%)
(0.00/0.31/0.81/0.75)	

CMYK percentages

%0
%31.25
%81.25
%74.9

Codes

Color #402C0C in popluar color models

402C0C
RGB644412
HSL37°68.42%14.90%
HSB/HSV37°81.25%25.10%
CMYK0.00%31.25%81.25%
74.90%

Color #402C0C in popluar number systems.

HEX402C0C
Decimal644412
Binary10000001011001100
Octal1005414

Shades and tints

Shades of #402C0C

#402C0C
(64,44,12)
#3B280B
(59,40,11)
#36240A
(54,36,10)
#312009
(49,32,9)
#2C1C08
(44,28,8)
#271807
(39,24,7)
#221406
(34,20,6)
#1D1005
(29,16,5)
#180C04
(24,12,4)
#130803
(19,8,3)
#0E0402
(14,4,2)
#000000
(0,0,0)

Tints of #402C0C

#402C0C
(64,44,12)
#513F22
(81,63,34)
#625238
(98,82,56)
#73654E
(115,101,78)
#847864
(132,120,100)
#958B7A
(149,139,122)
#A69E90
(166,158,144)
#B7B1A6
(183,177,166)
#C8C4BC
(200,196,188)
#D9D7D2
(217,215,210)
#EAEAE8
(234,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C0C; }

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

This text font color is #402C0C.


Background Color

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

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

This div background color is #402C0C.


Border color

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

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

This div border color is #402C0C.


Opacity

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

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

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

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

This text has shadow with #402C0C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402C0C on black background.


Color preview on white background

This text has color #402C0C on white background.



Black color preview on #402C0C background

This text has black color on #402C0C background.


White color preview on #402C0C background

This text has white color on #402C0C background.