HEX: #6A5ACD
RGB: (106,90,205)
Color name is SlateBlue. #6A5ACD contains mainly blue color. Web safe color of #6A5ACD is #6666CC (or #66C).
#6A5ACD color RGB value is (106,90,205).
RGB: (106,90,205) (42%,35%,80%)
R 106 of 255 = 42%
G 90 of 255 = 35%
B 205 of 255 = 80%
R + G + B ~ 52%. #6A5ACD is middle color (not dark and not light).
R + G + B =
106 + 90 + 205 = 401 (100%)
R 106 of 401 ~ 26.43%
G 90 of 401 ~ 22.44%
B 205 of 401 ~ 51.12%
#6A5ACD color CMYK value is (48,56,0,20).
CMYK: (48,56,0,20) C48M56Y0K20 (48%,56%,0%,20%) (0.48/0.56/0.00/0.20)
6A | 5A | CD | |
---|---|---|---|
RGB | 106 | 90 | 205 |
HSL | 248° | 53.49% | 57.84% |
HSB/HSV | 248° | 56.10% | 80.39% |
CMYK | 48.29% | 56.10% | 0.00% |
19.61% |
HEX | 6A | 5A | CD |
Decimal | 106 | 90 | 205 |
Binary | 1101010 | 1011010 | 11001101 |
Octal | 152 | 132 | 315 |
Examples of css and html codes for elements with #6A5ACD color. Also use rgb(106,90,205) instead hex code.
.myTextColor { color: #6A5ACD; }
<p style="color:#6A5ACD">This sample text font color is #6A5ACD.</p>
This text font color is #6A5ACD.
.myBgColor { background-color: #6A5ACD; }
<div style="background-color:#6A5ACD">Inner text</div>
This div background color is #6A5ACD.
.myBorderColor { border: 1px solid #6A5ACD; }
<div style="border:3px solid #6A5ACD">Div</div>
This div border color is #6A5ACD.
.myOpacity80 { color: #6A5ACD; opacity: 0.8; }
<p style="color:#6A5ACD;opacity:0.8;">80%</p>
Text with #6A5ACD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A5ACD;}
<p style="text-shadow: 3px 3px 1px #6A5ACD">Text here.</p>
This text has shadow with #6A5ACD color.
.textShadow {text-shadow: 3px 3px 1px #6A5ACD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A5ACD, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A5ACD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A5ACD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A5ACD, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A5ACD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A5ACD; -webkit-box-shadow: 1px 1px 3px 2px #6A5ACD; box-shadow: 1px 1px 3px 2px #6A5ACD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A5ACD; -webkit-box-shadow: 1px 1px 3px 2px #6A5ACD; box-shadow:1px 1px 3px 2px #6A5ACD;">
Div content here</div>
This text has color #6A5ACD on black background.
This text has color #6A5ACD on white background.
This text has black color on #6A5ACD background.
This text has white color on #6A5ACD background.