A chart of colours, and a drawing that names places in it

A chart of house colours the file carries, and a drawing whose sixteen numbers are places in that chart rather than colours. The same drawing is shown twice through two charts: repainting a whole brand is one table, not every drawing.

In an indexed space a colour is one number, and that number is not a colour: it is the row of a table the document carries. This page shows a chart of house colours, and a drawing whose sixteen numbers are places in that chart rather than colours of their own.

The same drawing is then shown a second time through a second chart, and everything about it changes. That is the argument for the space in one picture: when a brand repaints itself, what changes is one table, not every drawing that ever used the old colours.

What this example shows

  • A palette carried in the file, and drawings that point into it.
  • One drawing shown through two palettes, unchanged itself.
  • One byte per colour rather than three or four.

The code, in full

The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.

The document itself

The same document is written in each of these languages. Open the one you want to look at.

Open the document in English Open the document in French

Read the Rust source Read the Python source

First page of A chart of colours, and a drawing that names places in it

What this document weighs

Before 113,810 bytes
Now 43,318 bytes
Saved 61.9 %

Not one mark on the page changed. See every document measured.

Examples near this one

Grey, screen and printing colours

Swatches in each of the three ways to say a colour — a grey as one number, a screen colour as three, a printing colour as four inks — each captioned with the instruction actually written into the file, and one mid-grey said three ways.

Colour the document defines

The same six colours said as bare numbers and then read through the sRGB profile the file carries, plus a ramp from light to dark and a sweep of hues in CIE L*a*b*: colour that still means the same thing on another screen and on a press.

Inks on plates of their own

Two inks the press carries on a plate of their own, each at ten strengths, a piece of work set in both, and the crosses used to line the plates up — drawn in an ink every plate answers to.

Several plates at once, each at a strength of its own

Eight choices of plate among the four usual inks, each with the small program that shows it printed underneath, and two inks the press carries itself used together, every strength of one against every strength of the other.

One hatch, laid down in as many colours as the page asks for

One pattern that states no colour of its own, laid down in five colours and in five strengths of one press ink: the fill says what colour to lay it down in. Beside them, the same hatch made of patterns that carry their own colours, which is one pattern per colour.

A sheet as it goes to the press

One drawing on three pages: a press sheet stating where the ink runs, where the blade falls and what is worth keeping, with corner marks; the same sheet cropped to the finished page; and a landscape page that states a quarter turn clockwise on an upright sheet.

Every example, by subject