{"library":"rgb2ansi256","type":"library","category":null,"description":"Convert RGB 24-bit colors into ANSI 256 (8-bit) color codes with zero dependencies and `const fn`.","language":"rust","status":"active","version":"0.1.1","tags":["color","ansi","rgb","terminal","no-std"],"last_verified":"Wed Jun 17","install":[{"cmd":"# Cargo.toml\n[dependencies]\nrgb2ansi256 = \"0.1.1\"","imports":["use rgb2ansi256::rgb_to_ansi256;"]},{"cmd":"cargo add rgb2ansi256","imports":[]}],"homepage":"https://github.com/rhysd/rgb2ansi256#readme","github":"https://github.com/rhysd/rgb2ansi256","docs":"https://docs.rs/rgb2ansi256/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}