COLOR #1B254C

HEX: #1B254C
RGB: (27,37,76)

Color info

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

RGB color model

#1B254C color RGB value is (27,37,76).

  • red value is 27;
  • green value is 37;
  • blue value is 76.
RGB:
(27,37,76)
(11%,15%,30%)

RGB channels and saturation

R 27 of 255 = 11%
G 37 of 255 = 15%
B 76 of 255 = 30%

27
37
76

R + G + B ~ 19%. #1B254C is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 37 + 76 = 140 (100%)
R 27 of 140 ~ 19.29%
G 37 of 140 ~ 26.43%
B 76 of 140 ~ 54.29%

%19.29
%26.43
%54.29

CMYK color model

#1B254C color CMYK value is (64,51,0,70).

  • cyan value is 64.47%
  • magenta value is 51.32%
  • yellow value is 0.00%
  • key color value is 70.20%
CMYK:
(64,51,0,70)
C64M51Y0K70 
(64%,51%,0%,70%)
(0.64/0.51/0.00/0.70)	

CMYK percentages

%64.47
%51.32
%0
%70.2

Codes

Color #1B254C in popluar color models

1B254C
RGB273776
HSL228°47.57%20.20%
HSB/HSV228°64.47%29.80%
CMYK64.47%51.32%0.00%
70.20%

Color #1B254C in popluar number systems.

HEX1B254C
Decimal273776
Binary110111001011001100
Octal3345114

Shades and tints

Shades of #1B254C

#1B254C
(27,37,76)
#192246
(25,34,70)
#171F40
(23,31,64)
#151C3A
(21,28,58)
#131934
(19,25,52)
#11162E
(17,22,46)
#0F1328
(15,19,40)
#0D1022
(13,16,34)
#0B0D1C
(11,13,28)
#090A16
(9,10,22)
#070710
(7,7,16)
#000000
(0,0,0)

Tints of #1B254C

#1B254C
(27,37,76)
#2F385C
(47,56,92)
#434B6C
(67,75,108)
#575E7C
(87,94,124)
#6B718C
(107,113,140)
#7F849C
(127,132,156)
#9397AC
(147,151,172)
#A7AABC
(167,170,188)
#BBBDCC
(187,189,204)
#CFD0DC
(207,208,220)
#E3E3EC
(227,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B254C color. Also use rgb(27,37,76) instead hex code.

Text Font Color

.myTextColor { color: #1B254C; }

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

This text font color is #1B254C.


Background Color

.myBgColor { background-color: #1B254C; }

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

This div background color is #1B254C.


Border color

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

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

This div border color is #1B254C.


Opacity

.myOpacity80 { color: #1B254C; opacity: 0.8; }

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

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

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

This text has shadow with #1B254C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B254C on black background.


Color preview on white background

This text has color #1B254C on white background.



Black color preview on #1B254C background

This text has black color on #1B254C background.


White color preview on #1B254C background

This text has white color on #1B254C background.