Color Hex Logo

#2f158e Color Hex

#2F158E
(47,21,142)
0 Favorites   0 Comments

Color spaces of #2f158e

RGB 4721142
HSL0.700.740.32
HSV253°85°56°
CMYK 0.670.850.00   0.44
XYZ6.32293.093725.8551
Yxy3.09370.17930.0877
Hunter Lab17.588933.3869-74.8420
CIE-Lab20.415345.6327-61.0638

#2f158e color RGB value is (47,21,142).

#2f158e hex color red value is 47, green value is 21 and the blue value of its RGB is 142. Cylindrical-coordinate representations (also known as HSL) of color #2f158e hue: 0.70 , saturation: 0.74 and the lightness value of 2f158e is 0.32.

The process color (four color CMYK) of #2f158e color hex is 0.67, 0.85, 0.00, 0.44. Web safe color of #2f158e is #330099. Color #2f158e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101111 00010101 10001110
Octal 57 25 216
Decimal 47 21 142
Hex 2F 15 8E

RGB Percentages of Color #2f158e

%22.38
%10.00
%67.62

CMYK Percentages of Color #2f158e

%67
%85
%0
%44

Triadic Colors of #2f158e

#2f158e #8e2f15 #158e2f

Analogous Colors of #2f158e

#2f158e #6c158e #15378e

Monochromatic Colors of #2f158e

#2f158e

Complementary Color

#2f158e #748e15

#2f158e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2f158e Color Preview on White Background

Lorem ipsum dolor sit amet.

#2f158e Color CSS Codes

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

#2f158e Text Font Color

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

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


#2f158e Background Color

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

This div background color is #2f158e


#2f158e Border Color

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

This div border color is #2f158e


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2f158e


Comments

No comments written yet.

Please login to write comment.