COLOR #2F2259

HEX: #2F2259
RGB: (47,34,89)

Color info

#2F2259 contains red, green and blue colors in about the same proportion. Web safe color of #2F2259 is #333366 (or #336).

RGB color model

#2F2259 color RGB value is (47,34,89).

  • red value is 47;
  • green value is 34;
  • blue value is 89.
RGB:
(47,34,89)
(18%,13%,35%)

RGB channels and saturation

R 47 of 255 = 18%
G 34 of 255 = 13%
B 89 of 255 = 35%

47
34
89

R + G + B ~ 22%. #2F2259 is dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 34 + 89 = 170 (100%)
R 47 of 170 ~ 27.65%
G 34 of 170 ~ 20%
B 89 of 170 ~ 52.35%

%27.65
%20
%52.35

CMYK color model

#2F2259 color CMYK value is (47,62,0,65).

  • cyan value is 47.19%
  • magenta value is 61.80%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(47,62,0,65)
C47M62Y0K65 
(47%,62%,0%,65%)
(0.47/0.62/0.00/0.65)	

CMYK percentages

%47.19
%61.8
%0
%65.1

Codes

Color #2F2259 in popluar color models

2F2259
RGB473489
HSL254°44.72%24.12%
HSB/HSV254°61.80%34.90%
CMYK47.19%61.80%0.00%
65.10%

Color #2F2259 in popluar number systems.

HEX2F2259
Decimal473489
Binary1011111000101011001
Octal5742131

Shades and tints

Shades of #2F2259

#2F2259
(47,34,89)
#2B1F51
(43,31,81)
#271C49
(39,28,73)
#231941
(35,25,65)
#1F1639
(31,22,57)
#1B1331
(27,19,49)
#171029
(23,16,41)
#130D21
(19,13,33)
#0F0A19
(15,10,25)
#0B0711
(11,7,17)
#070409
(7,4,9)
#000000
(0,0,0)

Tints of #2F2259

#2F2259
(47,34,89)
#413668
(65,54,104)
#534A77
(83,74,119)
#655E86
(101,94,134)
#777295
(119,114,149)
#8986A4
(137,134,164)
#9B9AB3
(155,154,179)
#ADAEC2
(173,174,194)
#BFC2D1
(191,194,209)
#D1D6E0
(209,214,224)
#E3EAEF
(227,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F2259 color. Also use rgb(47,34,89) instead hex code.

Text Font Color

.myTextColor { color: #2F2259; }

<p style="color:#2F2259">This sample text font color is #2F2259.</p>

This text font color is #2F2259.


Background Color

.myBgColor { background-color: #2F2259; }

<div style="background-color:#2F2259">Inner text</div>

This div background color is #2F2259.


Border color

.myBorderColor { border: 1px solid #2F2259; }

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

This div border color is #2F2259.


Opacity

.myOpacity80 { color: #2F2259; opacity: 0.8; }

<p style="color:#2F2259;opacity:0.8;">80%</p>

Text with #2F2259 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #2F2259;}

<p style="text-shadow: 3px 3px 1px #2F2259">Text here.</p>

This text has shadow with #2F2259 color.

.textShadow {text-shadow: 3px 3px 1px #2F2259, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #2F2259, 5px 5px 20px red">Text here.</p>

This text has shadow with #2F2259 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2F2259, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#2F2259, Direction=45, Strength=4)">Text</p>

This text has shadow with #2F2259 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #2F2259;
  -webkit-box-shadow:	1px 1px 3px 2px #2F2259;
  box-shadow:		1px 1px 3px 2px #2F2259;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #2F2259;
-webkit-box-shadow: 1px 1px 3px 2px #2F2259;
box-shadow:1px 1px 3px 2px #2F2259;">
Div content here</div>
This div box has shadow with color #2F2259.

Preview

Color preview on black background

This text has color #2F2259 on black background.


Color preview on white background

This text has color #2F2259 on white background.



Black color preview on #2F2259 background

This text has black color on #2F2259 background.


White color preview on #2F2259 background

This text has white color on #2F2259 background.