Guides & Tutorials Overview
Explore step-by-step tutorials and practical tips to master Saturon.
Explore our collection of guides to get the most out of Saturon. Each guide provides clear examples and practical tips for working with colors programmatically.
Creating Color Instances
Learn how to instantiate Color objects using the Color constructor, static from() parser, and random() generator.
Working with Color Instances
Discover how to convert, transform, extract, and format color channel values using in(), to(), with(), and data extraction methods on Color instances.
Color Mixing & Interpolation
Master blending colors with mix(), creating multi-stop gradients with interpolate(), and generating discrete color scale palettes.
Accessibility & Color Difference Checks
Ensure your colors are readable and accessible using the static contrast() and deltaE*() methods to measure legibility and perceptual differences.
Gamut Mapping & Out-of-Gamut Handling
Safely handle colors that exceed display capabilities using Saturon's inGamut(), within(), fit(), and format options.
The Registry API
Learn how to dynamically extend Saturon by registering custom color spaces, syntaxes, formatters, and gamut mapping methods at runtime.
Configuring device-cmyk() Color Profiles
Register real ICC-backed color profiles so device-cmyk() produces accurate, print-ready color instead of a naive approximation.
Tree Shakability & Bundle Size
Optimize your bundle size by using Saturon's standalone functional subpaths.