THE COLOR NOTEBOOK

Get the color.
Understand the result.

Practical guides, small experiments, and files you can test yourself.

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Does renaming a JPEG to PNG restore the original colors?

Renaming a JPEG does not convert it or recover its earlier colors.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Can an indexed PNG be transparent without an alpha band?

Yes.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

When can a picked HEX code be shortened to three digits?

Shorten a six-digit HEX code exactly only when each channel’s two digits match.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Why does an image palette favor the product background?

A full-image color count includes the background.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Should transparent pixels count in an image’s average RGB?

Define the average first.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Why can a gray color report a hue of zero?

Read saturation with hue.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Where does alpha go in an eight-digit CSS HEX code?

CSS eight-digit HEX puts alpha last: #RRGGBBAA.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

How do coordinates map to a double-resolution image?

For an exact two-times nearest-neighbor enlargement, multiply each source coordinate by two to locate the start of its matching pixel block.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Why does a color coordinate change after cropping?

Cropping moves the image’s coordinate origin.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Why can a PNG export change colors before picking?

A PNG export that reduces the palette can change colors before the picker receives the file.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Does PNG compression change a picked color?

Changing only the PNG compression level need not change any color.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 25, 2026

Does lossless WebP preserve the RGB of transparent pixels?

Lossless WebP can change RGB values hidden under fully transparent pixels.

Read the source-file experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 13, 2026

Why does a PNG list an unused color?

Four stored entries, two used colors: inspect original files, full pixel counts and real tool readings.

Read the unused-palette experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 12, 2026

Is a PNG palette index a color code?

Different indices, identical RGB: inspect two original indexed PNGs and reproduce the palette lookup.

Read the indexed PNG experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 11, 2026

Does PNG DPI change a picked color?

Two original files separate density metadata from pixels, with six real HEX readings.

Read the PNG density experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 10, 2026

Small PNG, too many pixels?

Three real uploads separate file size from pixel count, including the exact boundary.

Read the PNG upload-limit experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 9, 2026

Does HEX preserve your TIFF data?

Eight source intensities, two conversion controls, and 24 actual color readings.

Read the TIFF bit-depth experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 8, 2026

Which drawing is inside your icon?

One ICO, three distinct images, and a controlled check of which color the upload reads.

Read the ICO size experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 7, 2026

A sideways photo. A different pixel?

Identical JPEG data, a direction tag, and a controlled check of where the colors went.

Read the orientation experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 6, 2026

Same SVG fills. Why a different edge color?

Two intrinsic sizes, unchanged neighbors, and a measured difference at the vector boundary.

Read the SVG edge experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 5, 2026

Which GIF frame are you picking a color from?

One changing center, two fixed controls, and live readings that separate frame choice from pixel choice.

Read the GIF frame experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 4, 2026

Why does the same pixel get different color names?

Eight original tiles, two distance rules, and exact-match controls that separate names from codes.

Read the color-name comparison ↗

ORIGINAL EXPERIMENT · OCTOBER 3, 2026

Why did the HEX change after rounding HSL?

Eight original colors, three precision settings, and a browser roundtrip you can repeat.

Read the HSL precision experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 2, 2026

The image opens. Why can’t I read its color?

Same PNG, different request permissions. Compare the measured outcomes and repeat the local browser lab.

Read the image URL experiment ↗

ORIGINAL EXPERIMENT · OCTOBER 1, 2026

Why a gradient's middle is not the average

Same two endpoints, three middle pixels. We authored sRGB, linear-light and Oklab ramps and read the centre in Chrome.

Read the gradient experiment ↗

ORIGINAL EXPERIMENT · SEPTEMBER 30, 2026

Point sample vs neighborhood average

The same coordinate can return three useful answers. We test a flat patch, a single bright pixel and a boundary, then explain which value is yours to keep.

Read the sampling experiment ↗

ORIGINAL EXPERIMENT · SEPTEMBER 29, 2026

Same blue. Different background.

Separate source RGB, alpha and flattened color. Test our transparent PNG against white and black controls.

Read the transparency experiment ↗

ORIGINAL CASE STUDY · SEPTEMBER 28, 2026

From logo pixels to a website palette

Sample the fills, catch a missing accent, export CSS and choose a readable label. Includes original images and a live header example.

Follow the case study ↗

ORIGINAL EXPERIMENT · SEPTEMBER 27, 2026

Why does a JPEG give you a different HEX color?

One PNG. Two JPEG exports. Six exact coordinates. See what changed and where to sample instead.

Read the experiment ↗