Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions...

29
Converting Colors Decimal(255)

Transcript of Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions...

Page 1: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

ConvertingColors

Decimal(255)

Page 2: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

Have a look what the booklet forDecimal(255) contains.

Decimal(255) 3 ............................................................ Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................

Page 3: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

Color

Decimal(255)

Page 6: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 6/29 convertingcolors.com

Details

The Decimal color 255 is a dark color, and thewebsafe version is hex 0000FF, and the colorname is blue. The color can be described as darksaturated blue. A complement of this color wouldbe 16776960, and the grayscale version is1842204.

A 20% lighter version of the original color is7948287, and 196 is the 20% darker color. If yousaturate the color by 10%, you get 255, and ifyou desaturate by 10%, it is 1645055.

Page 7: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 7/29 convertingcolors.com

Distribution

RGB

Red (0%)

Green (0%)

Blue (100%)

RYB

Red (0%)

Yellow (0%)

Blue (100%)

CMYK

Cyan (100%)

Magenta (100%)

Yellow (0%)

Black (0%)

CMY

Cyan (100%)

Magenta (100%)

Yellow (0%)

Page 8: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 8/29 convertingcolors.com

Brightness & SaturationGradients

These gradients show how the Decimal color 255changes by changing the brightness by 10 percent. Thefirst figure shows a shift by +10% for each color and thesecond figure -10%.

Similar to the brightness gradients but the followingsaturation gradients show a change of the Decimalcolor 255 by changing the saturation by 10% instead.

Page 9: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 9/29 convertingcolors.com

255

5253887

7948287

10314751

12550143

14785279

16758783

16765951

16773631

16777215

255

225

196

168

140

4721

3160

1855

808

274

255

1645055

3355647

5066239

6711039

8421631

Page 11: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 11/29 convertingcolors.com

Harmonies

AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.

24319

255

13369508

Page 12: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 12/29 convertingcolors.com

TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.

255

10226176

26721

Page 13: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 13/29 convertingcolors.com

ComplementaryThe complementary color scheme is a pair of colorswhich are on the opposite of each other on the colorwheel.

255

16776960

Page 14: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 14/29 convertingcolors.com

Split ComplementarySplit-complementary colors differ from thecomplementary color scheme. The scheme consists ofthree colors, the original color and two neighbors of thecomplement color.

26112

255

4870400

Page 15: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 15/29 convertingcolors.com

SquareThe square scheme is like the rectangle color scheme,but the four colors are evenly spaced on the colorwheel.

255

13959168

24832

28108

Page 16: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 16/29 convertingcolors.com

RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.

255

15335519

24832

26428

Page 17: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 17/29 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

255

11777023

65535

5395072

0

8421504

Page 18: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 18/29 convertingcolors.com

Previews

White Background

This preview shows how the Decimal color 255 looks ona white background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✓ PassAny Text WCAG AA ✓ PassLarge Text (above 18pt) WCAG AAA ✓ PassAny Text WCAG AAA ✓ Pass

Page 19: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 19/29 convertingcolors.com

Black Background

This preview shows how the Decimal color 255 looks ona black background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✕ FailAny Text WCAG AA ✕ FailLarge Text (above 18pt) WCAG AAA ✕ FailAny Text WCAG AAA ✕ Fail

If you want to check with other color combinations, trythe Color Contrast Checker.

Page 20: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 20/29 convertingcolors.com

Decimal 255 Background

This preview shows how black text looks on abackground with the Decimal color 255.

This preview shows how white text looks on abackground with the Decimal color 255.

Page 21: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 21/29 convertingcolors.com

Color BlindnessSimulation

Color vision deficiency is a very complex topic, and Icould not describe the different causes any better thanWikipedia does, so if you want to learn more, youshould check out their article about color blindness.

Dichromacy

Original Color255

Protanopia19100

Deuteranopia20612

Page 22: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 22/29 convertingcolors.com

Tritanopia22105

Page 24: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 24/29 convertingcolors.com

CSS Examples

Text

The CSS property to change the color of the text toDecimal 255 is called "color". The color property can beset on classes, ids or directly on the HTML element.

This example shows how text in the color #0000FFlooks like.

.text, #text, p{ color:#0000FF}

Page 25: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 25/29 convertingcolors.com

If you want to add a text shadow in that color use thetext-shadow property, you can generate a text shadowdirectly with our CSS Text Shadow Generator.

Here you see how black text with a 4 pixel #0000FFHere you see how black text with a 4 pixel #0000FF

colored shadow looks like.colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px #0000FF}

Border

The CSS property to change the border of an element toDecimal 255 is called "border". The border property canbe set on classes, ids or directly on the HTML element.

This example shows the color as border, it can beapplied via the CSS property "border" or "border-color".

.border, #border, table{ border:4px solid#0000FF }

Page 26: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 26/29 convertingcolors.com

If only the border color should be changed use theproperty border-color.

.border{ border-color:#0000FF }

If you want to add a box shadow in that color use:

Here you see how a box with a 4 pixel #0000FFcolored shadow looks like.

.boxshadow{ -moz-box-shadow:4px 4px 4px4px #0000FF; -webkit-box-shadow:4px 4px4px 4px #0000FF; box-shadow:4px 4px 4px4px #0000FF }

Page 27: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

27-09-2020 27/29 convertingcolors.com

Background

The CSS property to change the background color of anelement to Decimal 255 is called "background". Thebackground property can be set on classes, ids ordirectly on the HTML element.

.background, #background, body{background:#0000FF }

If only the background color should be changed can beused:

.background{ background-color:#0000FF }

This example shows the color as background, it isapplied via the CSS property "background".

To optimize and compress your CSS code, you can useour online CSS compressor and optimizer based oncsstidy. If you want to create a linear or radial gradientas background or border, check our CSS GradientGenerator.

Page 28: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

Hey! You found this bookletinteresting? Have a look at my otherbooklet HOWCOLORS.WORK – A CSScolor notation guide.

HOWCOLORS.WORKA CSS color notation guide.Are you new to web developmentand want to know the differentways to express colors in CSS?Then this booklet is for you!

HOWCOLORS.WORK will helpyou understand the syntax ofthe color notations in CSS.You will learn all the current andnew ways to express colors toprepare yourself for the future!

Buy now, starting at $4.99!

Page 29: Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions Part 2 Format Color RYB 0, 0, 255 Decimal 255 CIELab 32.30, 79.20, -107.86 CIELCh

Follow meon Twitter!

@ConvertingColor