COLOR #505881

HEX: #505881
RGB: (80,88,129)

Color info

#505881 contains red, green and blue colors in about the same proportion. Web safe color of #505881 is #666699 (or #669).

RGB color model

#505881 color RGB value is (80,88,129).

  • red value is 80;
  • green value is 88;
  • blue value is 129.
RGB:
(80,88,129)
(31%,35%,51%)

RGB channels and saturation

R 80 of 255 = 31%
G 88 of 255 = 35%
B 129 of 255 = 51%

80
88
129

R + G + B ~ 39%. #505881 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 88 + 129 = 297 (100%)
R 80 of 297 ~ 26.94%
G 88 of 297 ~ 29.63%
B 129 of 297 ~ 43.43%

%26.94
%29.63
%43.43

CMYK color model

#505881 color CMYK value is (38,32,0,49).

  • cyan value is 37.98%
  • magenta value is 31.78%
  • yellow value is 0.00%
  • key color value is 49.41%
CMYK:
(38,32,0,49)
C38M32Y0K49 
(38%,32%,0%,49%)
(0.38/0.32/0.00/0.49)	

CMYK percentages

%37.98
%31.78
%0
%49.41

Codes

Color #505881 in popluar color models

505881
RGB8088129
HSL230°23.44%40.98%
HSB/HSV230°37.98%50.59%
CMYK37.98%31.78%0.00%
49.41%

Color #505881 in popluar number systems.

HEX505881
Decimal8088129
Binary1010000101100010000001
Octal120130201

Shades and tints

Shades of #505881

#505881
(80,88,129)
#495076
(73,80,118)
#42486B
(66,72,107)
#3B4060
(59,64,96)
#343855
(52,56,85)
#2D304A
(45,48,74)
#26283F
(38,40,63)
#1F2034
(31,32,52)
#181829
(24,24,41)
#11101E
(17,16,30)
#0A0813
(10,8,19)
#000000
(0,0,0)

Tints of #505881

#505881
(80,88,129)
#5F678C
(95,103,140)
#6E7697
(110,118,151)
#7D85A2
(125,133,162)
#8C94AD
(140,148,173)
#9BA3B8
(155,163,184)
#AAB2C3
(170,178,195)
#B9C1CE
(185,193,206)
#C8D0D9
(200,208,217)
#D7DFE4
(215,223,228)
#E6EEEF
(230,238,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505881 color. Also use rgb(80,88,129) instead hex code.

Text Font Color

.myTextColor { color: #505881; }

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

This text font color is #505881.


Background Color

.myBgColor { background-color: #505881; }

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

This div background color is #505881.


Border color

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

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

This div border color is #505881.


Opacity

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

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

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

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

This text has shadow with #505881 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505881 on black background.


Color preview on white background

This text has color #505881 on white background.



Black color preview on #505881 background

This text has black color on #505881 background.


White color preview on #505881 background

This text has white color on #505881 background.