Module bevy_color::color_difference

source ·
Expand description

Module for calculating distance between two colors in the same color space.

Traits§

  • Calculate the distance between this and another color as if they were coordinates in a Euclidean space. Alpha is not considered in the distance calculation.