[][src]Function colorskill::make_color_darker

pub fn make_color_darker(t: (u8, u8, u8), amount: f64) -> (u8, u8, u8)

Wrapper function to make a color darker.

Receives a tuple and the amount to make darker.

Example

use colorskill::make_color_darker;
let c = make_color_darker((43, 56, 84), 20.0);