{"id":20687888,"url":"https://github.com/atmonshi/gmdcolors","last_synced_at":"2025-04-22T15:10:48.973Z","repository":{"id":42950724,"uuid":"105184602","full_name":"atmonshi/gmdcolors","owner":"atmonshi","description":"Google Material Design hex colors for php","archived":false,"fork":false,"pushed_at":"2024-02-07T23:08:42.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T16:11:53.264Z","etag":null,"topics":["color-scheme","design","google","hex","material","material-design","palette","php-library"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"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/atmonshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"atmonshi"}},"created_at":"2017-09-28T18:26:30.000Z","updated_at":"2022-08-24T21:16:37.000Z","dependencies_parsed_at":"2022-09-06T06:13:26.387Z","dependency_job_id":null,"html_url":"https://github.com/atmonshi/gmdcolors","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmonshi%2Fgmdcolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmonshi%2Fgmdcolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmonshi%2Fgmdcolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmonshi%2Fgmdcolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atmonshi","download_url":"https://codeload.github.com/atmonshi/gmdcolors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264909,"owners_count":21402004,"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":["color-scheme","design","google","hex","material","material-design","palette","php-library"],"created_at":"2024-11-16T22:58:32.526Z","updated_at":"2025-04-22T15:10:48.941Z","avatar_url":"https://github.com/atmonshi.png","language":"PHP","funding_links":["https://github.com/sponsors/atmonshi"],"categories":[],"sub_categories":[],"readme":"# GMDColors\n[![Build Status](https://travis-ci.org/atmonshi/gmdcolors.svg?branch=master)](https://travis-ci.org/atmonshi/gmdcolors)\n[![Maintainability](https://api.codeclimate.com/v1/badges/978225dc787a7f6d1645/maintainability)](https://codeclimate.com/github/atmonshi/gmdcolors/maintainability)\n[![Latest Stable Version](https://poser.pugx.org/atmonshi/gmdcolors/v/stable?format=flat)](https://packagist.org/packages/atmonshi/gmdcolors)\n[![Total Downloads](https://poser.pugx.org/atmonshi/gmdcolors/downloads?format=flat)](https://packagist.org/packages/atmonshi/gmdcolors)\n[![License](https://poser.pugx.org/atmonshi/gmdcolors/license?format=flat)](https://packagist.org/packages/atmonshi/gmdcolors)\n\n\n#### get Google Material Design hex colors for php\nsee the Color palette in [google material](https://material.io/guidelines/style/color.html#color-color-tool)\n## Usage :\n### get a single color :\n\n```\n$getC = new getcolors;\n$hex   = $getC-\u003ehex('Blue','100');\n// return : string '#BBDEFB'\n```\n\n### get a a random colors :\n\n\n```\n$getC = new getcolors;\n$rand = $getC-\u003erand(3);\n\n/*return : array (size=3)\n0 =\u003e string '#BA68C8' (length=7)\n1 =\u003e string '#FFF176' (length=7)\n2 =\u003e string '#64B5F6' (length=7)\n*/\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmonshi%2Fgmdcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmonshi%2Fgmdcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmonshi%2Fgmdcolors/lists"}