COLOR #402441

HEX: #402441
RGB: (64,36,65)

Color info

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

RGB color model

#402441 color RGB value is (64,36,65).

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

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 65 of 255 = 25%

64
36
65

R + G + B ~ 21%. #402441 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 36 + 65 = 165 (100%)
R 64 of 165 ~ 38.79%
G 36 of 165 ~ 21.82%
B 65 of 165 ~ 39.39%

%38.79
%21.82
%39.39

CMYK color model

#402441 color CMYK value is (2,45,0,75).

  • cyan value is 1.54%
  • magenta value is 44.62%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(2,45,0,75)
C2M45Y0K75 
(2%,45%,0%,75%)
(0.02/0.45/0.00/0.75)	

CMYK percentages

%1.54
%44.62
%0
%74.51

Codes

Color #402441 in popluar color models

402441
RGB643665
HSL298°28.71%19.80%
HSB/HSV298°44.62%25.49%
CMYK1.54%44.62%0.00%
74.51%

Color #402441 in popluar number systems.

HEX402441
Decimal643665
Binary10000001001001000001
Octal10044101

Shades and tints

Shades of #402441

#402441
(64,36,65)
#3B213C
(59,33,60)
#361E37
(54,30,55)
#311B32
(49,27,50)
#2C182D
(44,24,45)
#271528
(39,21,40)
#221223
(34,18,35)
#1D0F1E
(29,15,30)
#180C19
(24,12,25)
#130914
(19,9,20)
#0E060F
(14,6,15)
#000000
(0,0,0)

Tints of #402441

#402441
(64,36,65)
#513752
(81,55,82)
#624A63
(98,74,99)
#735D74
(115,93,116)
#847085
(132,112,133)
#958396
(149,131,150)
#A696A7
(166,150,167)
#B7A9B8
(183,169,184)
#C8BCC9
(200,188,201)
#D9CFDA
(217,207,218)
#EAE2EB
(234,226,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402441; }

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

This text font color is #402441.


Background Color

.myBgColor { background-color: #402441; }

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

This div background color is #402441.


Border color

.myBorderColor { border: 1px solid #402441; }

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

This div border color is #402441.


Opacity

.myOpacity80 { color: #402441; opacity: 0.8; }

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

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

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

This text has shadow with #402441 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402441 on black background.


Color preview on white background

This text has color #402441 on white background.



Black color preview on #402441 background

This text has black color on #402441 background.


White color preview on #402441 background

This text has white color on #402441 background.