Color spaces of #340495
RGB | 52 | 4 | 149 |
---|---|---|---|
HSL | 0.72 | 0.95 | 0.30 |
HSV | 260° | 97° | 58° |
CMYK | 0.65 | 0.97 | 0.00 0.42 |
XYZ | 6.8844 | 2.9868 | 28.6474 |
Yxy | 2.9868 | 0.1787 | 0.0775 |
Hunter Lab | 17.2824 | 40.8610 | -86.1820 |
CIE-Lab | 19.9910 | 53.2897 | -66.1025 |
#340495 color RGB value is (52,4,149).
#340495 hex color red value is 52, green value is 4 and the blue value of its RGB is 149. Cylindrical-coordinate representations (also known as HSL) of color #340495 hue: 0.72 , saturation: 0.95 and the lightness value of 340495 is 0.30.
The process color (four color CMYK) of #340495 color hex is 0.65, 0.97, 0.00, 0.42. Web safe color of #340495 is #330099. Color #340495 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00110100 | 00000100 | 10010101 |
Octal | 64 | 4 | 225 |
Decimal | 52 | 4 | 149 |
Hex | 34 | 4 | 95 |
Shades of #340495
Tints of #340495
RGB Percentages of Color #340495
CMYK Percentages of Color #340495
Complementary Color
#340495 | #659504 |
#340495 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#340495 Color Preview on White Background
Lorem ipsum dolor sit amet.
#340495 Color CSS Codes
.mybgcolor {background-color:#340495; } .myforecolor {color:#340495; } .mybordercolor {border:3px solid #340495; }
#340495 Text Font Color
<p style="color:#340495">Text here</p>
This sample text font color is #340495
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.
#340495 Background Color
<div style="background-color:#340495">
Div content here</div>
This div background color is #340495
#340495 Border Color
<div style="border:3px solid #340495">
Div here</div>
This div border color is #340495
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(52,4,149, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #340495; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #340495; -webkit-box-shadow: 1px 1px 3px 2px #340495; box-shadow: 1px 1px 3px 2px #340495; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(52,4,149, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #340495">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #340495; -webkit-box-shadow: 1px 1px 3px 2px #340495; box-shadow: 1px 1px 3px 2px #340495;">
Div content here</div>
This div box has shadow with color #340495
Comments
No comments written yet.
Please login to write comment.