Color spaces of #2a1686
RGB | 42 | 22 | 134 |
---|---|---|---|
HSL | 0.70 | 0.72 | 0.31 |
HSV | 251° | 84° | 53° |
CMYK | 0.69 | 0.84 | 0.00 0.47 |
XYZ | 5.5448 | 2.7873 | 22.8000 |
Yxy | 2.7873 | 0.1781 | 0.0895 |
Hunter Lab | 16.6952 | 30.0667 | -69.2834 |
CIE-Lab | 19.1711 | 42.3189 | -58.1251 |
#2a1686 color RGB value is (42,22,134).
#2a1686 hex color red value is 42, green value is 22 and the blue value of its RGB is 134. Cylindrical-coordinate representations (also known as HSL) of color #2a1686 hue: 0.70 , saturation: 0.72 and the lightness value of 2a1686 is 0.31.
The process color (four color CMYK) of #2a1686 color hex is 0.69, 0.84, 0.00, 0.47. Web safe color of #2a1686 is #330099. Color #2a1686 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 00010110 | 10000110 |
Octal | 52 | 26 | 206 |
Decimal | 42 | 22 | 134 |
Hex | 2A | 16 | 86 |
Shades of #2a1686
Tints of #2a1686
RGB Percentages of Color #2a1686
CMYK Percentages of Color #2a1686
Complementary Color
#2a1686 | #728616 |
#2a1686 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a1686 Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a1686 Color CSS Codes
.mybgcolor {background-color:#2a1686; } .myforecolor {color:#2a1686; } .mybordercolor {border:3px solid #2a1686; }
#2a1686 Text Font Color
<p style="color:#2a1686">Text here</p>
This sample text font color is #2a1686
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#2a1686 Background Color
<div style="background-color:#2a1686">
Div content here</div>
This div background color is #2a1686
#2a1686 Border Color
<div style="border:3px solid #2a1686">
Div here</div>
This div border color is #2a1686
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,22,134, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a1686; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a1686; -webkit-box-shadow: 1px 1px 3px 2px #2a1686; box-shadow: 1px 1px 3px 2px #2a1686; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,22,134, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2a1686">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a1686; -webkit-box-shadow: 1px 1px 3px 2px #2a1686; box-shadow: 1px 1px 3px 2px #2a1686;">
Div content here</div>
This div box has shadow with color #2a1686
Comments
No comments written yet.
Please login to write comment.