Module bevy::color::color_difference

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.