{"id":94762,"library":"spatie-color","title":"Spatie Color","description":"A little library to handle color conversions.","status":"active","version":"2.1.0","language":"php","source_language":null,"source_url":"https://github.com/spatie/color","tags":["color","conversion","spatie","utility"],"install":[{"cmd":"composer require spatie/color","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Color","correct":"use Spatie\\Color\\Color;"}],"quickstart":{"code":"use Spatie\\Color\\Color;\n\n$color = Color::fromString('rgb(255, 0, 0)');\necho $color->toHex();","lang":"php","description":"Convert an RGB color to hex."},"warnings":[],"env_vars":null,"search_vec":"'color':2,8,10 'convers':9,11 'handl':7 'librari':5 'littl':4 'spati':1,12 'util':13","created_at":"2026-06-19T10:12:10.035313+00:00","updated_at":"2026-06-19T10:12:10.035313+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spatie/color","github":"https://github.com/spatie/color","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}