COLOR #40501B

HEX: #40501B
RGB: (64,80,27)

Color info

#40501B contains red, green and blue colors in about the same proportion. Web safe color of #40501B is #336633 (or #363).

RGB color model

#40501B color RGB value is (64,80,27).

  • red value is 64;
  • green value is 80;
  • blue value is 27.
RGB:
(64,80,27)
(25%,31%,11%)

RGB channels and saturation

R 64 of 255 = 25%
G 80 of 255 = 31%
B 27 of 255 = 11%

64
80
27

R + G + B ~ 22%. #40501B is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 80 + 27 = 171 (100%)
R 64 of 171 ~ 37.43%
G 80 of 171 ~ 46.78%
B 27 of 171 ~ 15.79%

%37.43
%46.78
%15.79

CMYK color model

#40501B color CMYK value is (20,0,66,69).

  • cyan value is 20.00%
  • magenta value is 0.00%
  • yellow value is 66.25%
  • key color value is 68.63%
CMYK:
(20,0,66,69)
C20M0Y66K69 
(20%,0%,66%,69%)
(0.20/0.00/0.66/0.69)	

CMYK percentages

%20
%0
%66.25
%68.63

Codes

Color #40501B in popluar color models

40501B
RGB648027
HSL78°49.53%20.98%
HSB/HSV78°66.25%31.37%
CMYK20.00%0.00%66.25%
68.63%

Color #40501B in popluar number systems.

HEX40501B
Decimal648027
Binary1000000101000011011
Octal10012033

Shades and tints

Shades of #40501B

#40501B
(64,80,27)
#3B4919
(59,73,25)
#364217
(54,66,23)
#313B15
(49,59,21)
#2C3413
(44,52,19)
#272D11
(39,45,17)
#22260F
(34,38,15)
#1D1F0D
(29,31,13)
#18180B
(24,24,11)
#131109
(19,17,9)
#0E0A07
(14,10,7)
#000000
(0,0,0)

Tints of #40501B

#40501B
(64,80,27)
#515F2F
(81,95,47)
#626E43
(98,110,67)
#737D57
(115,125,87)
#848C6B
(132,140,107)
#959B7F
(149,155,127)
#A6AA93
(166,170,147)
#B7B9A7
(183,185,167)
#C8C8BB
(200,200,187)
#D9D7CF
(217,215,207)
#EAE6E3
(234,230,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40501B color. Also use rgb(64,80,27) instead hex code.

Text Font Color

.myTextColor { color: #40501B; }

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

This text font color is #40501B.


Background Color

.myBgColor { background-color: #40501B; }

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

This div background color is #40501B.


Border color

.myBorderColor { border: 1px solid #40501B; }

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

This div border color is #40501B.


Opacity

.myOpacity80 { color: #40501B; opacity: 0.8; }

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

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

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

This text has shadow with #40501B color.

.textShadow {text-shadow: 3px 3px 1px #40501B, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40501B on black background.


Color preview on white background

This text has color #40501B on white background.



Black color preview on #40501B background

This text has black color on #40501B background.


White color preview on #40501B background

This text has white color on #40501B background.