COLOR #402B66

HEX: #402B66
RGB: (64,43,102)

Color info

#402B66 contains red, green and blue colors in about the same proportion. Web safe color of #402B66 is #333366 (or #336).

RGB color model

#402B66 color RGB value is (64,43,102).

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

RGB channels and saturation

R 64 of 255 = 25%
G 43 of 255 = 17%
B 102 of 255 = 40%

64
43
102

R + G + B ~ 27%. #402B66 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 43 + 102 = 209 (100%)
R 64 of 209 ~ 30.62%
G 43 of 209 ~ 20.57%
B 102 of 209 ~ 48.8%

%30.62
%20.57
%48.8

CMYK color model

#402B66 color CMYK value is (37,58,0,60).

  • cyan value is 37.25%
  • magenta value is 57.84%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(37,58,0,60)
C37M58Y0K60 
(37%,58%,0%,60%)
(0.37/0.58/0.00/0.60)	

CMYK percentages

%37.25
%57.84
%0
%60

Codes

Color #402B66 in popluar color models

402B66
RGB6443102
HSL261°40.69%28.43%
HSB/HSV261°57.84%40.00%
CMYK37.25%57.84%0.00%
60.00%

Color #402B66 in popluar number systems.

HEX402B66
Decimal6443102
Binary10000001010111100110
Octal10053146

Shades and tints

Shades of #402B66

#402B66
(64,43,102)
#3B285D
(59,40,93)
#362554
(54,37,84)
#31224B
(49,34,75)
#2C1F42
(44,31,66)
#271C39
(39,28,57)
#221930
(34,25,48)
#1D1627
(29,22,39)
#18131E
(24,19,30)
#131015
(19,16,21)
#0E0D0C
(14,13,12)
#000000
(0,0,0)

Tints of #402B66

#402B66
(64,43,102)
#513E73
(81,62,115)
#625180
(98,81,128)
#73648D
(115,100,141)
#84779A
(132,119,154)
#958AA7
(149,138,167)
#A69DB4
(166,157,180)
#B7B0C1
(183,176,193)
#C8C3CE
(200,195,206)
#D9D6DB
(217,214,219)
#EAE9E8
(234,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402B66; }

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

This text font color is #402B66.


Background Color

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

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

This div background color is #402B66.


Border color

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

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

This div border color is #402B66.


Opacity

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

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

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

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

This text has shadow with #402B66 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402B66 on black background.


Color preview on white background

This text has color #402B66 on white background.



Black color preview on #402B66 background

This text has black color on #402B66 background.


White color preview on #402B66 background

This text has white color on #402B66 background.