COLOR #284257

HEX: #284257
RGB: (40,66,87)

Color info

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

RGB color model

#284257 color RGB value is (40,66,87).

  • red value is 40;
  • green value is 66;
  • blue value is 87.
RGB:
(40,66,87)
(16%,26%,34%)

RGB channels and saturation

R 40 of 255 = 16%
G 66 of 255 = 26%
B 87 of 255 = 34%

40
66
87

R + G + B ~ 25%. #284257 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 66 + 87 = 193 (100%)
R 40 of 193 ~ 20.73%
G 66 of 193 ~ 34.2%
B 87 of 193 ~ 45.08%

%20.73
%34.2
%45.08

CMYK color model

#284257 color CMYK value is (54,24,0,66).

  • cyan value is 54.02%
  • magenta value is 24.14%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(54,24,0,66)
C54M24Y0K66 
(54%,24%,0%,66%)
(0.54/0.24/0.00/0.66)	

CMYK percentages

%54.02
%24.14
%0
%65.88

Codes

Color #284257 in popluar color models

284257
RGB406687
HSL207°37.01%24.90%
HSB/HSV207°54.02%34.12%
CMYK54.02%24.14%0.00%
65.88%

Color #284257 in popluar number systems.

HEX284257
Decimal406687
Binary10100010000101010111
Octal50102127

Shades and tints

Shades of #284257

#284257
(40,66,87)
#253C50
(37,60,80)
#223649
(34,54,73)
#1F3042
(31,48,66)
#1C2A3B
(28,42,59)
#192434
(25,36,52)
#161E2D
(22,30,45)
#131826
(19,24,38)
#10121F
(16,18,31)
#0D0C18
(13,12,24)
#0A0611
(10,6,17)
#000000
(0,0,0)

Tints of #284257

#284257
(40,66,87)
#3B5366
(59,83,102)
#4E6475
(78,100,117)
#617584
(97,117,132)
#748693
(116,134,147)
#8797A2
(135,151,162)
#9AA8B1
(154,168,177)
#ADB9C0
(173,185,192)
#C0CACF
(192,202,207)
#D3DBDE
(211,219,222)
#E6ECED
(230,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284257 color. Also use rgb(40,66,87) instead hex code.

Text Font Color

.myTextColor { color: #284257; }

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

This text font color is #284257.


Background Color

.myBgColor { background-color: #284257; }

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

This div background color is #284257.


Border color

.myBorderColor { border: 1px solid #284257; }

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

This div border color is #284257.


Opacity

.myOpacity80 { color: #284257; opacity: 0.8; }

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

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

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

This text has shadow with #284257 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #284257 on black background.


Color preview on white background

This text has color #284257 on white background.



Black color preview on #284257 background

This text has black color on #284257 background.


White color preview on #284257 background

This text has white color on #284257 background.