Skip to main content

Module color

Module color 

Source

Functions§

color_delta
Calculate perceptual color delta between two RGBA pixels using YIQ color space. Returns a value in [0.0, 1.0] representing the magnitude of difference. Based on Kotsarenko & Ramos (2010) as adapted by pixelmatch.

Type Aliases§

Rgba