COLOR #40517A

HEX: #40517A RGB: (64,81,122)

Color info

#40517A contains red, green and blue colors in about the same proportion. Web safe color of #40517A is #336666 (or #366).

RGB color model

#40517A color RGB value is (64,81,122).

RGB: (64,81,122) (25%, 32%, 48%)

RGB channels and saturation

R 64 of 255 = 25%
G 81 of 255 = 32%
B 122 of 255 = 48%

64
81
122

R + G + B ~ 35%. #40517A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 81 + 122 = 267 (100%)
R 64 of 267 ~ 23.97%
G 81 of 267 ~ 30.34%
B 122 of 267 ~ 45.69'%

%23.97
%30.34
%45.69

CMYK color model

#40517A color CMYK value is (48,34,0,52).

  • cyan value is 47.54%
  • magenta value is 33.61%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (48,34,0,52)
C48M34Y0K52 (48%, 34%, 0%, 52%)
(0.48 / 0.34 / 0.00 / 0.52)

CMYK percentages

%47.54
%33.61
%0
%52.16

Codes

Color #40517A in popluar color models

40 51 7A
RGB 64 81 122
HSL 222° 31.18% 36.47%
HSB/HSV 222° 47.54% 47.84%
CMYK 47.54% 33.61% 0.00%
52.16%

Color #40517A in popluar number systems.

HEX 40 51 7A
Decimal 64 81 122
Binary 1000000 1010001 1111010
Octal 100 121 172

Shades and tints

Shades of #40517A

#40517A
(64,81,122)
#3B4A6F
(59,74,111)
#364364
(54,67,100)
#313C59
(49,60,89)
#2C354E
(44,53,78)
#272E43
(39,46,67)
#222738
(34,39,56)
#1D202D
(29,32,45)
#181922
(24,25,34)
#131217
(19,18,23)
#0E0B0C
(14,11,12)
#000000
(0,0,0)

Tints of #40517A

#40517A
(64,81,122)
#516086
(81,96,134)
#626F92
(98,111,146)
#737E9E
(115,126,158)
#848DAA
(132,141,170)
#959CB6
(149,156,182)
#A6ABC2
(166,171,194)
#B7BACE
(183,186,206)
#C8C9DA
(200,201,218)
#D9D8E6
(217,216,230)
#EAE7F2
(234,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40517A color. Also use rgb(64,81,122) instead hex code.

Text Font Color

.myTextColor { color: #40517A; }

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

This text font color is #40517A.

Background Color

.myBgColor { background-color: #40517A; }

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

This div background color is #40517A.

Border color

.myBorderColor { border: 1px solid #40517A; }

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

This div border color is #40517A.

Opacity

.myOpacity80 { color: #40517A; opacity: 0.8; }

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

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

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

This text has shadow with #40517A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40517A.

Preview

Color preview on black background

This text has color #40517A on black background.


Color preview on white background

This text has color #40517A on white background.


Black color preview on #40517A background

This text has black color on #40517A background.


White color preview on #40517A background

This text has white color on #40517A background.


Related colors

Complementary color

Complementary color for #hex is #BFAE85.


I love getcolorcode.com

Triadic colors

1 #7A4051 and #517A40 with #40517A are triadic colors.

2 #7A5140 and #51407A with #40517A are triadic colors.