COLOR #510054

HEX: #510054 RGB: (81,0,84)

Color info

#510054 contains only red and blue colors. Web safe color of #510054 is #660066 (or #606).

RGB color model

#510054 color RGB value is (81,0,84).

RGB: (81,0,84) (32%, 0%, 33%)

RGB channels and saturation

R 81 of 255 = 32%
G 0 of 255 = 0%
B 84 of 255 = 33%

81
0
84

R + G + B ~ 22%. #510054 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 0 + 84 = 165 (100%)
R 81 of 165 ~ 49.09%
G 0 of 165 ~ 0%
B 84 of 165 ~ 50.91'%

%49.09
%50.91

CMYK color model

#510054 color CMYK value is (4,100,0,67).

  • cyan value is 3.57%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 67.06%

CMYK: (4,100,0,67)
C4M100Y0K67 (4%, 100%, 0%, 67%)
(0.04 / 1.00 / 0.00 / 0.67)

CMYK percentages

%3.57
%100
%0
%67.06

Codes

Color #510054 in popluar color models

51 00 54
RGB 81 0 84
HSL 298° 100.00% 16.47%
HSB/HSV 298° 100.00% 32.94%
CMYK 3.57% 100.00% 0.00%
67.06%

Color #510054 in popluar number systems.

HEX 51 00 54
Decimal 81 0 84
Binary 1010001 0 1010100
Octal 121 0 124

Shades and tints

Shades of #510054

#510054
(81,0,84)
#4A004D
(74,0,77)
#430046
(67,0,70)
#3C003F
(60,0,63)
#350038
(53,0,56)
#2E0031
(46,0,49)
#27002A
(39,0,42)
#200023
(32,0,35)
#19001C
(25,0,28)
#120015
(18,0,21)
#0B000E
(11,0,14)
#000000
(0,0,0)

Tints of #510054

#510054
(81,0,84)
#601763
(96,23,99)
#6F2E72
(111,46,114)
#7E4581
(126,69,129)
#8D5C90
(141,92,144)
#9C739F
(156,115,159)
#AB8AAE
(171,138,174)
#BAA1BD
(186,161,189)
#C9B8CC
(201,184,204)
#D8CFDB
(216,207,219)
#E7E6EA
(231,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510054 color. Also use rgb(81,0,84) instead hex code.

Text Font Color

.myTextColor { color: #510054; }

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

This text font color is #510054.

Background Color

.myBgColor { background-color: #510054; }

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

This div background color is #510054.

Border color

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

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

This div border color is #510054.

Opacity

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

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

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

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

This text has shadow with #510054 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #510054.

Preview

Color preview on black background

This text has color #510054 on black background.


Color preview on white background

This text has color #510054 on white background.


Black color preview on #510054 background

This text has black color on #510054 background.


White color preview on #510054 background

This text has white color on #510054 background.


Related colors

Complementary color

Complementary color for #hex is #AEFFAB.


I love getcolorcode.com

Triadic colors

1 #545100 and #005451 with #510054 are triadic colors.

2 #540051 and #005154 with #510054 are triadic colors.