COLOR #40271D

HEX: #40271D
RGB: (64,39,29)

Color info

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

RGB color model

#40271D color RGB value is (64,39,29).

  • red value is 64;
  • green value is 39;
  • blue value is 29.
RGB:
(64,39,29)
(25%,15%,11%)

RGB channels and saturation

R 64 of 255 = 25%
G 39 of 255 = 15%
B 29 of 255 = 11%

64
39
29

R + G + B ~ 17%. #40271D is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 39 + 29 = 132 (100%)
R 64 of 132 ~ 48.48%
G 39 of 132 ~ 29.55%
B 29 of 132 ~ 21.97%

%48.48
%29.55
%21.97

CMYK color model

#40271D color CMYK value is (0,39,55,75).

  • cyan value is 0.00%
  • magenta value is 39.06%
  • yellow value is 54.69%
  • key color value is 74.90%
CMYK:
(0,39,55,75)
C0M39Y55K75 
(0%,39%,55%,75%)
(0.00/0.39/0.55/0.75)	

CMYK percentages

%0
%39.06
%54.69
%74.9

Codes

Color #40271D in popluar color models

40271D
RGB643929
HSL17°37.63%18.24%
HSB/HSV17°54.69%25.10%
CMYK0.00%39.06%54.69%
74.90%

Color #40271D in popluar number systems.

HEX40271D
Decimal643929
Binary100000010011111101
Octal1004735

Shades and tints

Shades of #40271D

#40271D
(64,39,29)
#3B241B
(59,36,27)
#362119
(54,33,25)
#311E17
(49,30,23)
#2C1B15
(44,27,21)
#271813
(39,24,19)
#221511
(34,21,17)
#1D120F
(29,18,15)
#180F0D
(24,15,13)
#130C0B
(19,12,11)
#0E0909
(14,9,9)
#000000
(0,0,0)

Tints of #40271D

#40271D
(64,39,29)
#513A31
(81,58,49)
#624D45
(98,77,69)
#736059
(115,96,89)
#84736D
(132,115,109)
#958681
(149,134,129)
#A69995
(166,153,149)
#B7ACA9
(183,172,169)
#C8BFBD
(200,191,189)
#D9D2D1
(217,210,209)
#EAE5E5
(234,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40271D color. Also use rgb(64,39,29) instead hex code.

Text Font Color

.myTextColor { color: #40271D; }

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

This text font color is #40271D.


Background Color

.myBgColor { background-color: #40271D; }

<div style="background-color:#40271D">Inner text</div>

This div background color is #40271D.


Border color

.myBorderColor { border: 1px solid #40271D; }

<div style="border:3px solid #40271D">Div</div>

This div border color is #40271D.


Opacity

.myOpacity80 { color: #40271D; opacity: 0.8; }

<p style="color:#40271D;opacity:0.8;">80%</p>

Text with #40271D 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 #40271D;}

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

This text has shadow with #40271D color.

.textShadow {text-shadow: 3px 3px 1px #40271D, 3px 3px 1px red;}

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

This text has shadow with #40271D primary color and red secondary color.


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

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

This text has shadow with #40271D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40271D on black background.


Color preview on white background

This text has color #40271D on white background.



Black color preview on #40271D background

This text has black color on #40271D background.


White color preview on #40271D background

This text has white color on #40271D background.