COLOR #40301F

HEX: #40301F
RGB: (64,48,31)

Color info

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

RGB color model

#40301F color RGB value is (64,48,31).

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

RGB channels and saturation

R 64 of 255 = 25%
G 48 of 255 = 19%
B 31 of 255 = 12%

64
48
31

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

Portions of RGB colors in percentages

R + G + B =
64 + 48 + 31 = 143 (100%)
R 64 of 143 ~ 44.76%
G 48 of 143 ~ 33.57%
B 31 of 143 ~ 21.68%

%44.76
%33.57
%21.68

CMYK color model

#40301F color CMYK value is (0,25,52,75).

  • cyan value is 0.00%
  • magenta value is 25.00%
  • yellow value is 51.56%
  • key color value is 74.90%
CMYK:
(0,25,52,75)
C0M25Y52K75 
(0%,25%,52%,75%)
(0.00/0.25/0.52/0.75)	

CMYK percentages

%0
%25
%51.56
%74.9

Codes

Color #40301F in popluar color models

40301F
RGB644831
HSL31°34.74%18.63%
HSB/HSV31°51.56%25.10%
CMYK0.00%25.00%51.56%
74.90%

Color #40301F in popluar number systems.

HEX40301F
Decimal644831
Binary100000011000011111
Octal1006037

Shades and tints

Shades of #40301F

#40301F
(64,48,31)
#3B2C1D
(59,44,29)
#36281B
(54,40,27)
#312419
(49,36,25)
#2C2017
(44,32,23)
#271C15
(39,28,21)
#221813
(34,24,19)
#1D1411
(29,20,17)
#18100F
(24,16,15)
#130C0D
(19,12,13)
#0E080B
(14,8,11)
#000000
(0,0,0)

Tints of #40301F

#40301F
(64,48,31)
#514233
(81,66,51)
#625447
(98,84,71)
#73665B
(115,102,91)
#84786F
(132,120,111)
#958A83
(149,138,131)
#A69C97
(166,156,151)
#B7AEAB
(183,174,171)
#C8C0BF
(200,192,191)
#D9D2D3
(217,210,211)
#EAE4E7
(234,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40301F; }

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

This text font color is #40301F.


Background Color

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

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

This div background color is #40301F.


Border color

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

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

This div border color is #40301F.


Opacity

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

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

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

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

This text has shadow with #40301F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40301F on black background.


Color preview on white background

This text has color #40301F on white background.



Black color preview on #40301F background

This text has black color on #40301F background.


White color preview on #40301F background

This text has white color on #40301F background.