{"id":36993296,"url":"https://github.com/phpcolor/apple-colors","last_synced_at":"2026-01-13T23:45:28.775Z","repository":{"id":232500350,"uuid":"783119623","full_name":"phpcolor/apple-colors","owner":"phpcolor","description":"Color palettes used in Apple interfaces","archived":false,"fork":false,"pushed_at":"2025-01-21T08:20:34.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-22T22:06:16.854Z","etag":null,"topics":["apple","color","colors","ios","macos","palette","php","scale","watchos"],"latest_commit_sha":null,"homepage":"https://phpcolor.dev","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpcolor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-07T01:52:58.000Z","updated_at":"2025-01-21T14:22:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bf95482-88ba-4048-a2fb-efd45a9601e7","html_url":"https://github.com/phpcolor/apple-colors","commit_stats":null,"previous_names":["phpcolor/apple-colors"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/phpcolor/apple-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcolor%2Fapple-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcolor%2Fapple-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcolor%2Fapple-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcolor%2Fapple-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpcolor","download_url":"https://codeload.github.com/phpcolor/apple-colors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcolor%2Fapple-colors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apple","color","colors","ios","macos","palette","php","scale","watchos"],"created_at":"2026-01-13T23:45:28.706Z","updated_at":"2026-01-13T23:45:28.761Z","avatar_url":"https://github.com/phpcolor.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eApple Colors\u003c/h1\u003e\n\u003cp align=\"center\"\u003eThis package provides access to the color palettes used in Apple interfaces.\u003c/p\u003e\n\u003cimg src=\"Resources/colors.svg\" alt=\"Apple Colors\" width=\"100%\"\u003e\n\n## Installation\n\n```bash\ncomposer require phpcolor/apple-colors\n```\n\n## Usage\n\n### Color Palettes\n\n```php\nuse PhpColor\\Colors\\Apple\\AppleColors as Apple;\n\n$colors = Apple::iOS();\n$colors = Apple::iPadOS();\n$colors = Apple::macOS();\n$colors = Apple::tvOS();\n$colors = Apple::visionOS();\n$colors = Apple::watchOS();\n```\n\n### Themes\n\n```php\nuse PhpColor\\Colors\\Apple\\AppleColors as Apple;\n\n$colors = Apple::macOS('light');\n$colors = Apple::macOS('dark');\n\n$colors = Apple::iOS('light');\n$colors = Apple::iOS('dark');\n\n// visionOS has only one theme\n$colors = Apple::visionOS();\n```\n\n### Color names\n\n```php\nuse PhpColor\\Colors\\Apple\\AppleColors as Apple;\n\n$colors = Apple::watchOS();\n\n$names = $colors-\u003egetNames(); \n// 'red', 'orange', 'yellow', 'green', 'mint', 'teal', 'cyan',\n// 'blue', 'indigo', 'purple', 'pink', 'brown', 'gray'\n```\n\n### Color values\n\n```php\nuse PhpColor\\Colors\\Apple\\AppleColors as Apple;\n\n$colors = Apple::macOS();\n\necho $colors-\u003eblue;             // #007AFF\necho $colors-\u003eget('indigo');    // #5856D6\n```\n\n---\n\n![Apple Colors](Resources/colors.svg)\n\n## Credits\n\nThe colors listed in this project are based on the colors used by [Apple](https://www.apple.com/). \n\n## License\n\nThis [PHPColor](https://phpcolor.dev) package is released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpcolor%2Fapple-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpcolor%2Fapple-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpcolor%2Fapple-colors/lists"}