Color spaces of #2a127c
RGB | 42 | 18 | 124 |
---|---|---|---|
HSL | 0.70 | 0.75 | 0.28 |
HSV | 254° | 85° | 49° |
CMYK | 0.66 | 0.85 | 0.00 0.51 |
XYZ | 4.8092 | 2.3801 | 19.2747 |
Yxy | 2.3801 | 0.1817 | 0.0899 |
Hunter Lab | 15.4276 | 28.6451 | -63.2757 |
CIE-Lab | 17.3675 | 41.1079 | -54.7680 |
#2a127c color RGB value is (42,18,124).
#2a127c hex color red value is 42, green value is 18 and the blue value of its RGB is 124. Cylindrical-coordinate representations (also known as HSL) of color #2a127c hue: 0.70 , saturation: 0.75 and the lightness value of 2a127c is 0.28.
The process color (four color CMYK) of #2a127c color hex is 0.66, 0.85, 0.00, 0.51. Web safe color of #2a127c is #330066. Color #2a127c contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 00010010 | 01111100 |
Octal | 52 | 22 | 174 |
Decimal | 42 | 18 | 124 |
Hex | 2A | 12 | 7C |
Shades of #2a127c
Tints of #2a127c
RGB Percentages of Color #2a127c
CMYK Percentages of Color #2a127c
Complementary Color
#2a127c | #647c12 |
#2a127c Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a127c Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a127c Color CSS Codes
.mybgcolor {background-color:#2a127c; } .myforecolor {color:#2a127c; } .mybordercolor {border:3px solid #2a127c; }
#2a127c Text Font Color
<p style="color:#2a127c">Text here</p>
This sample text font color is #2a127c
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.
#2a127c Background Color
<div style="background-color:#2a127c">
Div content here</div>
This div background color is #2a127c
#2a127c Border Color
<div style="border:3px solid #2a127c">
Div here</div>
This div border color is #2a127c
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,18,124, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a127c; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a127c; -webkit-box-shadow: 1px 1px 3px 2px #2a127c; box-shadow: 1px 1px 3px 2px #2a127c; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,18,124, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2a127c">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a127c; -webkit-box-shadow: 1px 1px 3px 2px #2a127c; box-shadow: 1px 1px 3px 2px #2a127c;">
Div content here</div>
This div box has shadow with color #2a127c
Comments
No comments written yet.
Please login to write comment.