COLOR #251F40

HEX: #251F40
RGB: (37,31,64)

Color info

#251F40 contains red, green and blue colors in about the same proportion. Web safe color of #251F40 is #333333 (or #333).

RGB color model

#251F40 color RGB value is (37,31,64).

  • red value is 37;
  • green value is 31;
  • blue value is 64.
RGB:
(37,31,64)
(15%,12%,25%)

RGB channels and saturation

R 37 of 255 = 15%
G 31 of 255 = 12%
B 64 of 255 = 25%

37
31
64

R + G + B ~ 17%. #251F40 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 31 + 64 = 132 (100%)
R 37 of 132 ~ 28.03%
G 31 of 132 ~ 23.48%
B 64 of 132 ~ 48.48%

%28.03
%23.48
%48.48

CMYK color model

#251F40 color CMYK value is (42,52,0,75).

  • cyan value is 42.19%
  • magenta value is 51.56%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(42,52,0,75)
C42M52Y0K75 
(42%,52%,0%,75%)
(0.42/0.52/0.00/0.75)	

CMYK percentages

%42.19
%51.56
%0
%74.9

Codes

Color #251F40 in popluar color models

251F40
RGB373164
HSL251°34.74%18.63%
HSB/HSV251°51.56%25.10%
CMYK42.19%51.56%0.00%
74.90%

Color #251F40 in popluar number systems.

HEX251F40
Decimal373164
Binary100101111111000000
Octal4537100

Shades and tints

Shades of #251F40

#251F40
(37,31,64)
#221D3B
(34,29,59)
#1F1B36
(31,27,54)
#1C1931
(28,25,49)
#19172C
(25,23,44)
#161527
(22,21,39)
#131322
(19,19,34)
#10111D
(16,17,29)
#0D0F18
(13,15,24)
#0A0D13
(10,13,19)
#070B0E
(7,11,14)
#000000
(0,0,0)

Tints of #251F40

#251F40
(37,31,64)
#383351
(56,51,81)
#4B4762
(75,71,98)
#5E5B73
(94,91,115)
#716F84
(113,111,132)
#848395
(132,131,149)
#9797A6
(151,151,166)
#AAABB7
(170,171,183)
#BDBFC8
(189,191,200)
#D0D3D9
(208,211,217)
#E3E7EA
(227,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #251F40 color. Also use rgb(37,31,64) instead hex code.

Text Font Color

.myTextColor { color: #251F40; }

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

This text font color is #251F40.


Background Color

.myBgColor { background-color: #251F40; }

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

This div background color is #251F40.


Border color

.myBorderColor { border: 1px solid #251F40; }

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

This div border color is #251F40.


Opacity

.myOpacity80 { color: #251F40; opacity: 0.8; }

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

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

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

This text has shadow with #251F40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251F40 on black background.


Color preview on white background

This text has color #251F40 on white background.



Black color preview on #251F40 background

This text has black color on #251F40 background.


White color preview on #251F40 background

This text has white color on #251F40 background.