pastel 0.9.0

A command-line tool to generate, analyze, convert and manipulate colors
Documentation
use crate::helper::Fraction;
use crate::Color;

pub trait ColorSpace {
    fn from_color(c: &Color) -> Self;
    fn into_color(self) -> Color;

    fn mix(&self, other: &Self, fraction: Fraction) -> Self;
}