Color Hex Logo

#2f157a Color Hex

#2F157A
(47,21,122)
0 Favorites   0 Comments

Color spaces of #2f157a

RGB 4721122
HSL0.710.710.28
HSV255°83°48°
CMYK 0.610.830.00   0.52
XYZ4.95332.545818.6427
Yxy2.54580.18950.0974
Hunter Lab15.955627.4919-58.1064
CIE-Lab18.124539.6738-52.2218

#2f157a color RGB value is (47,21,122).

#2f157a hex color red value is 47, green value is 21 and the blue value of its RGB is 122. Cylindrical-coordinate representations (also known as HSL) of color #2f157a hue: 0.71 , saturation: 0.71 and the lightness value of 2f157a is 0.28.

The process color (four color CMYK) of #2f157a color hex is 0.61, 0.83, 0.00, 0.52. Web safe color of #2f157a is #330066. Color #2f157a contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101111 00010101 01111010
Octal 57 25 172
Decimal 47 21 122
Hex 2F 15 7A

RGB Percentages of Color #2f157a

%24.74
%11.05
%64.21

CMYK Percentages of Color #2f157a

%61
%83
%0
%52

Triadic Colors of #2f157a

#2f157a #7a2f15 #157a2f

Analogous Colors of #2f157a

#2f157a #61157a #152e7a

Monochromatic Colors of #2f157a

#2f157a

Complementary Color

#2f157a #607a15

#2f157a Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2f157a Color Preview on White Background

Lorem ipsum dolor sit amet.

#2f157a Color CSS Codes

.mybgcolor {background-color:#2f157a; } 
.myforecolor {color:#2f157a; }
.mybordercolor {border:3px solid #2f157a; }

#2f157a Text Font Color

<p style="color:#2f157a">Text here</p>

This sample text font color is #2f157a
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.


#2f157a Background Color

<div style="background-color:#2f157a">
Div content here</div>

This div background color is #2f157a


#2f157a Border Color

<div style="border:3px solid #2f157a">
Div here</div>

This div border color is #2f157a


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(47,21,122, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #2f157a; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #2f157a;
  -webkit-box-shadow: 1px 1px 3px 2px #2f157a;
  box-shadow:         1px 1px 3px 2px #2f157a; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(47,21,122, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #2f157a">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #2f157a;
  -webkit-box-shadow: 1px 1px 3px 2px #2f157a;
  box-shadow:         1px 1px 3px 2px #2f157a;">
Div content here</div>

This div box has shadow with color #2f157a


Comments

No comments written yet.

Please login to write comment.