COLOR #2F284F

HEX: #2F284F
RGB: (47,40,79)

Color info

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

RGB color model

#2F284F color RGB value is (47,40,79).

  • red value is 47;
  • green value is 40;
  • blue value is 79.
RGB:
(47,40,79)
(18%,16%,31%)

RGB channels and saturation

R 47 of 255 = 18%
G 40 of 255 = 16%
B 79 of 255 = 31%

47
40
79

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

Portions of RGB colors in percentages

R + G + B =
47 + 40 + 79 = 166 (100%)
R 47 of 166 ~ 28.31%
G 40 of 166 ~ 24.1%
B 79 of 166 ~ 47.59%

%28.31
%24.1
%47.59

CMYK color model

#2F284F color CMYK value is (41,49,0,69).

  • cyan value is 40.51%
  • magenta value is 49.37%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(41,49,0,69)
C41M49Y0K69 
(41%,49%,0%,69%)
(0.41/0.49/0.00/0.69)	

CMYK percentages

%40.51
%49.37
%0
%69.02

Codes

Color #2F284F in popluar color models

2F284F
RGB474079
HSL251°32.77%23.33%
HSB/HSV251°49.37%30.98%
CMYK40.51%49.37%0.00%
69.02%

Color #2F284F in popluar number systems.

HEX2F284F
Decimal474079
Binary1011111010001001111
Octal5750117

Shades and tints

Shades of #2F284F

#2F284F
(47,40,79)
#2B2548
(43,37,72)
#272241
(39,34,65)
#231F3A
(35,31,58)
#1F1C33
(31,28,51)
#1B192C
(27,25,44)
#171625
(23,22,37)
#13131E
(19,19,30)
#0F1017
(15,16,23)
#0B0D10
(11,13,16)
#070A09
(7,10,9)
#000000
(0,0,0)

Tints of #2F284F

#2F284F
(47,40,79)
#413B5F
(65,59,95)
#534E6F
(83,78,111)
#65617F
(101,97,127)
#77748F
(119,116,143)
#89879F
(137,135,159)
#9B9AAF
(155,154,175)
#ADADBF
(173,173,191)
#BFC0CF
(191,192,207)
#D1D3DF
(209,211,223)
#E3E6EF
(227,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F284F color. Also use rgb(47,40,79) instead hex code.

Text Font Color

.myTextColor { color: #2F284F; }

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

This text font color is #2F284F.


Background Color

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

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

This div background color is #2F284F.


Border color

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

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

This div border color is #2F284F.


Opacity

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

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

Text with #2F284F 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 #2F284F;}

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

This text has shadow with #2F284F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F284F on black background.


Color preview on white background

This text has color #2F284F on white background.



Black color preview on #2F284F background

This text has black color on #2F284F background.


White color preview on #2F284F background

This text has white color on #2F284F background.