Color Hex Logo

#2f158b Color Hex

#2F158B
(47,21,139)
0 Favorites   0 Comments

Color spaces of #2f158b

RGB 4721139
HSL0.700.740.31
HSV253°85°55°
CMYK 0.660.850.00   0.45
XYZ6.10073.004724.6845
Yxy3.00470.18050.0889
Hunter Lab17.334132.4882-72.2978
CIE-Lab20.062744.7510-59.7737

#2f158b color RGB value is (47,21,139).

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

The process color (four color CMYK) of #2f158b color hex is 0.66, 0.85, 0.00, 0.45. Web safe color of #2f158b is #330099. Color #2f158b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101111 00010101 10001011
Octal 57 25 213
Decimal 47 21 139
Hex 2F 15 8B

RGB Percentages of Color #2f158b

%22.71
%10.14
%67.15

CMYK Percentages of Color #2f158b

%66
%85
%0
%45

Triadic Colors of #2f158b

#2f158b #8b2f15 #158b2f

Analogous Colors of #2f158b

#2f158b #6a158b #15368b

Monochromatic Colors of #2f158b

#2f158b

Complementary Color

#2f158b #718b15

#2f158b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2f158b Color Preview on White Background

Lorem ipsum dolor sit amet.

#2f158b Color CSS Codes

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

#2f158b Text Font Color

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

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


#2f158b Background Color

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

This div background color is #2f158b


#2f158b Border Color

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

This div border color is #2f158b


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2f158b


Comments

No comments written yet.

Please login to write comment.