{"id":20976905,"url":"https://github.com/pixelbrackets/ral-color-chart","last_synced_at":"2025-07-25T10:35:37.653Z","repository":{"id":145819828,"uuid":"287006566","full_name":"pixelbrackets/ral-color-chart","owner":"pixelbrackets","description":"This package provides a static list of RAL Classic Colors","archived":false,"fork":false,"pushed_at":"2024-08-13T11:42:46.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-07-21T16:16:15.416Z","etag":null,"topics":["php","ral","ral-color-chart"],"latest_commit_sha":null,"homepage":"https://gitlab.com/pixelbrackets/ral-color-chart","language":"PHP","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/pixelbrackets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2020-08-12T12:21:22.000Z","updated_at":"2024-08-13T11:33:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd602626-ef52-4033-9695-8ff9a30d4d7a","html_url":"https://github.com/pixelbrackets/ral-color-chart","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pixelbrackets/ral-color-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fral-color-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fral-color-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fral-color-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fral-color-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelbrackets","download_url":"https://codeload.github.com/pixelbrackets/ral-color-chart/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fral-color-chart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266991098,"owners_count":24017736,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["php","ral","ral-color-chart"],"created_at":"2024-11-19T04:56:18.421Z","updated_at":"2025-07-25T10:35:37.631Z","avatar_url":"https://github.com/pixelbrackets.png","language":"PHP","readme":"# RAL Color Chart\n\n[![Version](https://img.shields.io/packagist/v/pixelbrackets/ral-color-chart.svg?style=flat-square)](https://packagist.org/packages/pixelbrackets/ral-color-chart/)\n[![Build Status](https://img.shields.io/gitlab/pipeline/pixelbrackets/ral-color-chart?style=flat-square)](https://gitlab.com/pixelbrackets/ral-color-chart/pipelines)\n[![Made With](https://img.shields.io/badge/made_with-php-blue?style=flat-square)](https://gitlab.com/pixelbrackets/ral-color-chart#requirements)\n[![License](https://img.shields.io/badge/license-gpl--2.0--or--later-blue.svg?style=flat-square)](https://spdx.org/licenses/GPL-2.0-or-later.html)\n\nThis package provides a static list of [RAL Classic](https://www.ral-farben.de/) Colors.\n\nThe object returns an array which contains the RAL Number, Range Index, \nEnglish Name, German Name and a compatible Hex Color Code.\n\n![Screenshot](docs/screenshot.png)\n\n## Requirements\n\n- PHP\n\n## Installation\n\nPackagist Entry https://packagist.org/packages/pixelbrackets/ral-color-chart/\n\n## Source\n\nhttps://gitlab.com/pixelbrackets/ral-color-chart/\n\n## Usage\n\nSee [tests/demo.php](./tests/demo.php)\n\n1. Get an array with all RAL Classic Colors\n   ```php\n   $colorChart = new \\Pixelbrackets\\RalColorChart\\RalColorChart();\n   $colors = $colorChart-\u003egetColors();\n   ```\n    Or as static method call\n   ```php\n   $colors = \\Pixelbrackets\\RalColorChart\\RalColorChart::getColors();\n   ```\n1. Get an array with all RAL Classic Ranges\n   ```php\n   $ranges = \\Pixelbrackets\\RalColorChart\\RalColorChart::getRanges();\n   ```\n1. Get an array with all RAL Classic Colors grouped by range index\n   ```php\n   $groupedColors = \\Pixelbrackets\\RalColorChart\\RalColorChart::getColorsGroupedByRange();\n   ```\n1. Get an array of a single RAL Classic Color\n   ```php\n   $color = \\Pixelbrackets\\RalColorChart\\RalColorChart::getColor('RAL 2010');\n   ```\n\n## License\n\nGNU General Public License version 2 or later\n\nThe GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.\n\n## Author\n\nDan Kleine (\u003cmail@pixelbrackets.de\u003e / [@pixelbrackets](https://pixelbrackets.de))\n\n## Changelog\n\nSee [./CHANGELOG.md](CHANGELOG.md)\n\n## Contribution\n\nThis script is Open Source, so please use, patch, extend or fork it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Fral-color-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelbrackets%2Fral-color-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Fral-color-chart/lists"}