Function launchpad::nearest_palette [] [src]

pub fn nearest_palette(red: u8, green: u8, blue: u8) -> u8

Use the 3d nearest neighbor to determine an approximation for RGB colors