COLOR #40301B

HEX: #40301B
RGB: (64,48,27)

Color info

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

RGB color model

#40301B color RGB value is (64,48,27).

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

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 27 of 255 = 11%

64
48
27

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

Portions of RGB colors in percentages

R + G + B =
64 + 48 + 27 = 139 (100%)
R 64 of 139 ~ 46.04%
G 48 of 139 ~ 34.53%
B 27 of 139 ~ 19.42%

%46.04
%34.53
%19.42

CMYK color model

#40301B color CMYK value is (0,25,58,75).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 57.81%
  • key color value is 74.90%
CMYK:
(0,25,58,75)
C0M25Y58K75 
(0%,25%,58%,75%)
(0.00/0.25/0.58/0.75)	

CMYK percentages

%0
%25
%57.81
%74.9

Codes

Color #40301B in popluar color models

40301B
RGB644827
HSL34°40.66%17.84%
HSB/HSV34°57.81%25.10%
CMYK0.00%25.00%57.81%
74.90%

Color #40301B in popluar number systems.

HEX40301B
Decimal644827
Binary100000011000011011
Octal1006033

Shades and tints

Shades of #40301B

#40301B
(64,48,27)
#3B2C19
(59,44,25)
#362817
(54,40,23)
#312415
(49,36,21)
#2C2013
(44,32,19)
#271C11
(39,28,17)
#22180F
(34,24,15)
#1D140D
(29,20,13)
#18100B
(24,16,11)
#130C09
(19,12,9)
#0E0807
(14,8,7)
#000000
(0,0,0)

Tints of #40301B

#40301B
(64,48,27)
#51422F
(81,66,47)
#625443
(98,84,67)
#736657
(115,102,87)
#84786B
(132,120,107)
#958A7F
(149,138,127)
#A69C93
(166,156,147)
#B7AEA7
(183,174,167)
#C8C0BB
(200,192,187)
#D9D2CF
(217,210,207)
#EAE4E3
(234,228,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40301B; }

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

This text font color is #40301B.


Background Color

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

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

This div background color is #40301B.


Border color

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

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

This div border color is #40301B.


Opacity

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

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

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

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

This text has shadow with #40301B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40301B on black background.


Color preview on white background

This text has color #40301B on white background.



Black color preview on #40301B background

This text has black color on #40301B background.


White color preview on #40301B background

This text has white color on #40301B background.