{"id":23053517,"url":"https://github.com/component/color-parser","last_synced_at":"2025-08-15T03:33:07.016Z","repository":{"id":4637897,"uuid":"5782639","full_name":"component/color-parser","owner":"component","description":"CSS color string parser","archived":false,"fork":false,"pushed_at":"2019-07-10T18:03:48.000Z","size":159,"stargazers_count":18,"open_issues_count":2,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-08T17:16:37.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-12T16:29:23.000Z","updated_at":"2024-03-20T02:46:08.000Z","dependencies_parsed_at":"2022-09-25T01:52:50.174Z","dependency_job_id":null,"html_url":"https://github.com/component/color-parser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcolor-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcolor-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcolor-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcolor-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/color-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890526,"owners_count":18140110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T00:18:31.155Z","updated_at":"2024-12-16T00:18:31.811Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# color-parser\n\n  CSS color string parser\n\n## Installation\n\n    $ component install component/color-parser\n\n### Example\n\n```js\nvar parse = require('color-parser');\n\nparse('#fc0')\n// =\u003e { r: 255, g: 204, b: 0, a: 1 }\n\nparse('#ffcc00')\n// =\u003e { r: 255, g: 204, b: 0, a: 1 }\n\nparse('rgb(255, 204, 0)')\n// =\u003e { r: 255, g: 204, b: 0, a: 1 }\n\nparse('rgba(255, 204, 0, 1)')\n// =\u003e { r: 255, g: 204, b: 0, a: 1 }\n```\n\n# License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fcolor-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fcolor-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fcolor-parser/lists"}