COLOR #400855

HEX: #400855 RGB: (64,8,85)

Color info

#400855 contains mainly red and blue colors. Web safe color of #400855 is #330066 (or #306).

RGB color model

#400855 color RGB value is (64,8,85).

RGB: (64,8,85) (25%, 3%, 33%)

RGB channels and saturation

R 64 of 255 = 25%
G 8 of 255 = 3%
B 85 of 255 = 33%

64
8
85

R + G + B ~ 20%. #400855 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 8 + 85 = 157 (100%)
R 64 of 157 ~ 40.76%
G 8 of 157 ~ 5.1%
B 85 of 157 ~ 54.14'%

%40.76
%54.14

CMYK color model

#400855 color CMYK value is (25,91,0,67).

  • cyan value is 24.71%
  • magenta value is 90.59%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK: (25,91,0,67) C25M91Y0K67 (25%,91%,0%,67%) (0.25/0.91/0.00/0.67) 

CMYK percentages

%24.71
%90.59
%0
%66.67

Codes

Color #400855 in popluar color models

40 08 55
RGB 64 8 85
HSL 284° 82.80% 18.24%
HSB/HSV 284° 90.59% 33.33%
CMYK 24.71% 90.59% 0.00%
66.67%

Color #400855 in popluar number systems.

HEX 40 08 55
Decimal 64 8 85
Binary 1000000 1000 1010101
Octal 100 10 125

Shades and tints

Shades of #400855

#400855
(64,8,85)
#3B084E
(59,8,78)
#360847
(54,8,71)
#310840
(49,8,64)
#2C0839
(44,8,57)
#270832
(39,8,50)
#22082B
(34,8,43)
#1D0824
(29,8,36)
#18081D
(24,8,29)
#130816
(19,8,22)
#0E080F
(14,8,15)
#000000
(0,0,0)

Tints of #400855

#400855
(64,8,85)
#511E64
(81,30,100)
#623473
(98,52,115)
#734A82
(115,74,130)
#846091
(132,96,145)
#9576A0
(149,118,160)
#A68CAF
(166,140,175)
#B7A2BE
(183,162,190)
#C8B8CD
(200,184,205)
#D9CEDC
(217,206,220)
#EAE4EB
(234,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #400855 color. Also use rgb(64,8,85) instead hex code.

Text Font Color

.myTextColor { color: #400855; }

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

This text font color is #400855.

Background Color

.myBgColor { background-color: #400855; }

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

This div background color is #400855.

Border color

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

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

This div border color is #400855.

Opacity

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

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

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

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

This text has shadow with #400855 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400855.

Preview

Color preview on black background

This text has color #400855 on black background.


Color preview on white background

This text has color #400855 on white background.


Black color preview on #400855 background

This text has black color on #400855 background.


White color preview on #400855 background

This text has white color on #400855 background.


Related colors

Complementary color

Complementary color for #hex is #BFF7AA.


I love getcolorcode.com

Triadic colors

1 #554008 and #085540 with #400855 are triadic colors.

2 #550840 and #084055 with #400855 are triadic colors.