HEX: #520C96
RGB: (82,12,150)
#520C96 contains mainly blue color. #520C96 ‘ nin web güvenlik rengi #660099 (ya da #609) dir.
#520C96 color RGB value is (82,12,150).
RGB: (82,12,150) (32%,5%,59%)
R 82 of 255 = 32%
G 12 of 255 = 5%
B 150 of 255 = 59%
R + G + B ~ 32%. #520C96 is quite dark color.
R + G + B =
82 + 12 + 150 = 244 (100%)
R 82 of 244 ~ 33.61%
G 12 of 244 ~ 4.92%
B 150 of 244 ~ 61.48%
#520C96 rengi CMYK tonu (45,92,0,41).
CMYK: (45,92,0,41) C45M92Y0K41 (45%,92%,0%,41%) (0.45/0.92/0.00/0.41)
52 | 0C | 96 | |
---|---|---|---|
RGB | 82 | 12 | 150 |
HSL | 270° | 85.19% | 31.76% |
HSB/HSV | 270° | 92.00% | 58.82% |
CMYK | 45.33% | 92.00% | 0.00% |
41.18% |
HEX | 52 | 0C | 96 |
Decimal | 82 | 12 | 150 |
Binary | 1010010 | 1100 | 10010110 |
Octal | 122 | 14 | 226 |
Examples of css and html codes for elements with #520C96 color. Also use rgb(82,12,150) instead hex code.
.myTextColor { color: #520C96; }
<p style="color:#520C96">This sample text font color is #520C96.</p>
This text font color is #520C96.
.myBgColor { background-color: #520C96; }
<div style="background-color:#520C96">Inner text</div>
This div background color is #520C96.
.myBorderColor { border: 1px solid #520C96; }
<div style="border:3px solid #520C96">Div</div>
This div border color is #520C96.
.myOpacity80 { color: #520C96; opacity: 0.8; }
<p style="color:#520C96;opacity:0.8;">80%</p>
Text with #520C96 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520C96;}
<p style="text-shadow: 3px 3px 1px #520C96">Text here.</p>
This text has shadow with #520C96 color.
.textShadow {text-shadow: 3px 3px 1px #520C96, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520C96, 5px 5px 20px red">Text here.</p>
This text has shadow with #520C96 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520C96, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520C96, Direction=45, Strength=4)">Text</p>
This text has shadow with #520C96 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520C96; -webkit-box-shadow: 1px 1px 3px 2px #520C96; box-shadow: 1px 1px 3px 2px #520C96; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520C96; -webkit-box-shadow: 1px 1px 3px 2px #520C96; box-shadow:1px 1px 3px 2px #520C96;">
Div content here</div>
This text has color #520C96 on black background.
This text has color #520C96 on white background.
This text has black color on #520C96 background.
This text has white color on #520C96 background.