Color Utilities
Utilities for color format validation, conversion, parsing, and random color generation in TypeScript/JavaScript.
Overview
A collection of utility functions for parsing, validating, converting between formats (HEX, RGB, HSL), extracting components, generating random colors, and initial-based color mapping.
Features
- Full color space support (HEX, RGB, HSL)
- Alpha channel handling
- Type-safe operations
- Conversion between all major formats
- Initial-based color generation
- Interactive playground support
Continue reading for detailed API documentation or search for functions using ctrl+k.
Last updated: Sun, Jun 14, 2026 07:06:16AM (UTC)
