Tags: Utilpedia/stdlib
Tags
v0.3.0 - Add @utilpedia/color package New Features: - Add @utilpedia/color package for color format conversion - Support 13 formats: HEX, RGB, RGBA, HSL, HSLA, HSV, HSVA, LAB, LCH, OKLCH, XYZ, CMYK, Pantone - Support 4 color spaces: sRGB, Display P3, Adobe RGB, ProPhoto RGB - Bradford chromatic adaptation for D65/D50 white point conversion - Pantone lookup with 20,970 colors (lazy-loaded for performance) - Comprehensive test suite (297 tests) - Reference values tested against CSS Color 4 specification
v0.2.0: Unified simpleInterest API
BREAKING CHANGES:
- Merged simpleInterest and simpleInterestSchedule into single function
- simpleInterest now returns schedule by default
- Function is unit-agnostic (ratePerPeriod, periods instead of annualRate, years)
New API:
simpleInterest(principal, ratePerPeriod, periods) -> { interest, finalBalance, schedule }