Material colors
An unofficial port of the material-color-utilities library for creating Material You themes and color schemes.
Examples
From HEX color:
use FromStr;
use ;
From image:
⚠️ Before obtaining an array of ARGB pixels for the image, it is recommended (but not necessary if your image is already small in size or you just don't mind about execution time) to adjust its dimensions to 128x128 by
func:resizefromstruct:Imageprovided bystruct:ImageReader. The reason is described here.
use ;
async
MSRV
The Minimum Supported Rust Version is currently 1.63.0.