COLOR #402B41

HEX: #402B41
RGB: (64,43,65)

Color info

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

RGB color model

#402B41 color RGB value is (64,43,65).

  • red value is 64;
  • green value is 43;
  • blue value is 65.
RGB:
(64,43,65)
(25%,17%,25%)

RGB channels and saturation

R 64 of 255 = 25%
G 43 of 255 = 17%
B 65 of 255 = 25%

64
43
65

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

Portions of RGB colors in percentages

R + G + B =
64 + 43 + 65 = 172 (100%)
R 64 of 172 ~ 37.21%
G 43 of 172 ~ 25%
B 65 of 172 ~ 37.79%

%37.21
%25
%37.79

CMYK color model

#402B41 color CMYK value is (2,34,0,75).

  • cyan value is 1.54%
  • magenta value is 33.85%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(2,34,0,75)
C2M34Y0K75 
(2%,34%,0%,75%)
(0.02/0.34/0.00/0.75)	

CMYK percentages

%1.54
%33.85
%0
%74.51

Codes

Color #402B41 in popluar color models

402B41
RGB644365
HSL297°20.37%21.18%
HSB/HSV297°33.85%25.49%
CMYK1.54%33.85%0.00%
74.51%

Color #402B41 in popluar number systems.

HEX402B41
Decimal644365
Binary10000001010111000001
Octal10053101

Shades and tints

Shades of #402B41

#402B41
(64,43,65)
#3B283C
(59,40,60)
#362537
(54,37,55)
#312232
(49,34,50)
#2C1F2D
(44,31,45)
#271C28
(39,28,40)
#221923
(34,25,35)
#1D161E
(29,22,30)
#181319
(24,19,25)
#131014
(19,16,20)
#0E0D0F
(14,13,15)
#000000
(0,0,0)

Tints of #402B41

#402B41
(64,43,65)
#513E52
(81,62,82)
#625163
(98,81,99)
#736474
(115,100,116)
#847785
(132,119,133)
#958A96
(149,138,150)
#A69DA7
(166,157,167)
#B7B0B8
(183,176,184)
#C8C3C9
(200,195,201)
#D9D6DA
(217,214,218)
#EAE9EB
(234,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402B41 color. Also use rgb(64,43,65) instead hex code.

Text Font Color

.myTextColor { color: #402B41; }

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

This text font color is #402B41.


Background Color

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

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

This div background color is #402B41.


Border color

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

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

This div border color is #402B41.


Opacity

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

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

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

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

This text has shadow with #402B41 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402B41 on black background.


Color preview on white background

This text has color #402B41 on white background.



Black color preview on #402B41 background

This text has black color on #402B41 background.


White color preview on #402B41 background

This text has white color on #402B41 background.