COLOR #403979

HEX: #403979 RGB: (64,57,121)

Color info

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

RGB color model

#403979 color RGB value is (64,57,121).

RGB: (64,57,121) (25%, 22%, 47%)

RGB channels and saturation

R 64 of 255 = 25%
G 57 of 255 = 22%
B 121 of 255 = 47%

64
57
121

R + G + B ~ 31%. #403979 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 57 + 121 = 242 (100%)
R 64 of 242 ~ 26.45%
G 57 of 242 ~ 23.55%
B 121 of 242 ~ 50'%

%26.45
%23.55
%50

CMYK color model

#403979 color CMYK value is (47,53,0,53).

  • cyan value is 47.11%
  • magenta value is 52.89%
  • yellow value is 0.00%
  • key color value is 52.55%

CMYK: (47,53,0,53)
C47M53Y0K53 (47%, 53%, 0%, 53%)
(0.47 / 0.53 / 0.00 / 0.53)

CMYK percentages

%47.11
%52.89
%0
%52.55

Codes

Color #403979 in popluar color models

40 39 79
RGB 64 57 121
HSL 247° 35.96% 34.90%
HSB/HSV 247° 52.89% 47.45%
CMYK 47.11% 52.89% 0.00%
52.55%

Color #403979 in popluar number systems.

HEX 40 39 79
Decimal 64 57 121
Binary 1000000 111001 1111001
Octal 100 71 171

Shades and tints

Shades of #403979

#403979
(64,57,121)
#3B346E
(59,52,110)
#362F63
(54,47,99)
#312A58
(49,42,88)
#2C254D
(44,37,77)
#272042
(39,32,66)
#221B37
(34,27,55)
#1D162C
(29,22,44)
#181121
(24,17,33)
#130C16
(19,12,22)
#0E070B
(14,7,11)
#000000
(0,0,0)

Tints of #403979

#403979
(64,57,121)
#514B85
(81,75,133)
#625D91
(98,93,145)
#736F9D
(115,111,157)
#8481A9
(132,129,169)
#9593B5
(149,147,181)
#A6A5C1
(166,165,193)
#B7B7CD
(183,183,205)
#C8C9D9
(200,201,217)
#D9DBE5
(217,219,229)
#EAEDF1
(234,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #403979 color. Also use rgb(64,57,121) instead hex code.

Text Font Color

.myTextColor { color: #403979; }

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

This text font color is #403979.

Background Color

.myBgColor { background-color: #403979; }

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

This div background color is #403979.

Border color

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

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

This div border color is #403979.

Opacity

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

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

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

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

This text has shadow with #403979 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #403979.

Preview

Color preview on black background

This text has color #403979 on black background.


Color preview on white background

This text has color #403979 on white background.


Black color preview on #403979 background

This text has black color on #403979 background.


White color preview on #403979 background

This text has white color on #403979 background.


Related colors

Complementary color

Complementary color for #hex is #BFC686.


I love getcolorcode.com

Triadic colors

1 #794039 and #397940 with #403979 are triadic colors.

2 #793940 and #394079 with #403979 are triadic colors.