COLOR #510068

HEX: #510068 RGB: (81,0,104)

Color info

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

RGB color model

#510068 color RGB value is (81,0,104).

RGB: (81,0,104) (32%, 0%, 41%)

RGB channels and saturation

R 81 of 255 = 32%
G 0 of 255 = 0%
B 104 of 255 = 41%

81
0
104

R + G + B ~ 24%. #510068 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 0 + 104 = 185 (100%)
R 81 of 185 ~ 43.78%
G 0 of 185 ~ 0%
B 104 of 185 ~ 56.22'%

%43.78
%56.22

CMYK color model

#510068 color CMYK value is (22,100,0,59).

  • cyan value is 22.12%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 59.22%

CMYK: (22,100,0,59)
C22M100Y0K59 (22%, 100%, 0%, 59%)
(0.22 / 1.00 / 0.00 / 0.59)

CMYK percentages

%22.12
%100
%0
%59.22

Codes

Color #510068 in popluar color models

51 00 68
RGB 81 0 104
HSL 287° 100.00% 20.39%
HSB/HSV 287° 100.00% 40.78%
CMYK 22.12% 100.00% 0.00%
59.22%

Color #510068 in popluar number systems.

HEX 51 00 68
Decimal 81 0 104
Binary 1010001 0 1101000
Octal 121 0 150

Shades and tints

Shades of #510068

#510068
(81,0,104)
#4A005F
(74,0,95)
#430056
(67,0,86)
#3C004D
(60,0,77)
#350044
(53,0,68)
#2E003B
(46,0,59)
#270032
(39,0,50)
#200029
(32,0,41)
#190020
(25,0,32)
#120017
(18,0,23)
#0B000E
(11,0,14)
#000000
(0,0,0)

Tints of #510068

#510068
(81,0,104)
#601775
(96,23,117)
#6F2E82
(111,46,130)
#7E458F
(126,69,143)
#8D5C9C
(141,92,156)
#9C73A9
(156,115,169)
#AB8AB6
(171,138,182)
#BAA1C3
(186,161,195)
#C9B8D0
(201,184,208)
#D8CFDD
(216,207,221)
#E7E6EA
(231,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #510068; }

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

This text font color is #510068.

Background Color

.myBgColor { background-color: #510068; }

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

This div background color is #510068.

Border color

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

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

This div border color is #510068.

Opacity

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

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

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

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

This text has shadow with #510068 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #510068.

Preview

Color preview on black background

This text has color #510068 on black background.


Color preview on white background

This text has color #510068 on white background.


Black color preview on #510068 background

This text has black color on #510068 background.


White color preview on #510068 background

This text has white color on #510068 background.


Related colors

Complementary color

Complementary color for #hex is #AEFF97.


I love getcolorcode.com

Triadic colors

1 #685100 and #006851 with #510068 are triadic colors.

2 #680051 and #005168 with #510068 are triadic colors.