COLOR #402667

HEX: #402667 RGB: (64,38,103)

Color info

#402667 contains mainly red and blue colors. Web safe color of #402667 is #333366 (or #336).

RGB color model

#402667 color RGB value is (64,38,103).

RGB: (64,38,103) (25%, 15%, 40%)

RGB channels and saturation

R 64 of 255 = 25%
G 38 of 255 = 15%
B 103 of 255 = 40%

64
38
103

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

Portions of RGB colors in percentages

R + G + B = 64 + 38 + 103 = 205 (100%)
R 64 of 205 ~ 31.22%
G 38 of 205 ~ 18.54%
B 103 of 205 ~ 50.24'%

%31.22
%18.54
%50.24

CMYK color model

#402667 color CMYK value is (38,63,0,60).

  • cyan value is 37.86%
  • magenta value is 63.11%
  • yellow value is 0.00%
  • key color value is 59.61%

CMYK: (38,63,0,60)
C38M63Y0K60 (38%, 63%, 0%, 60%)
(0.38 / 0.63 / 0.00 / 0.60)

CMYK percentages

%37.86
%63.11
%0
%59.61

Codes

Color #402667 in popluar color models

40 26 67
RGB 64 38 103
HSL 264° 46.10% 27.65%
HSB/HSV 264° 63.11% 40.39%
CMYK 37.86% 63.11% 0.00%
59.61%

Color #402667 in popluar number systems.

HEX 40 26 67
Decimal 64 38 103
Binary 1000000 100110 1100111
Octal 100 46 147

Shades and tints

Shades of #402667

#402667
(64,38,103)
#3B235E
(59,35,94)
#362055
(54,32,85)
#311D4C
(49,29,76)
#2C1A43
(44,26,67)
#27173A
(39,23,58)
#221431
(34,20,49)
#1D1128
(29,17,40)
#180E1F
(24,14,31)
#130B16
(19,11,22)
#0E080D
(14,8,13)
#000000
(0,0,0)

Tints of #402667

#402667
(64,38,103)
#513974
(81,57,116)
#624C81
(98,76,129)
#735F8E
(115,95,142)
#84729B
(132,114,155)
#9585A8
(149,133,168)
#A698B5
(166,152,181)
#B7ABC2
(183,171,194)
#C8BECF
(200,190,207)
#D9D1DC
(217,209,220)
#EAE4E9
(234,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402667 color. Also use rgb(64,38,103) instead hex code.

Text Font Color

.myTextColor { color: #402667; }

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

This text font color is #402667.

Background Color

.myBgColor { background-color: #402667; }

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

This div background color is #402667.

Border color

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

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

This div border color is #402667.

Opacity

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

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

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

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

This text has shadow with #402667 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402667.

Preview

Color preview on black background

This text has color #402667 on black background.


Color preview on white background

This text has color #402667 on white background.


Black color preview on #402667 background

This text has black color on #402667 background.


White color preview on #402667 background

This text has white color on #402667 background.


Related colors

Complementary color

Complementary color for #hex is #BFD998.


I love getcolorcode.com

Triadic colors

1 #674026 and #266740 with #402667 are triadic colors.

2 #672640 and #264067 with #402667 are triadic colors.