{"id":16716122,"url":"https://github.com/benrosen/random-color-pair","last_synced_at":"2025-03-15T09:12:54.490Z","repository":{"id":55412812,"uuid":"325727733","full_name":"benrosen/random-color-pair","owner":"benrosen","description":"Generate two random colors: one darker and one lighter.","archived":false,"fork":false,"pushed_at":"2021-01-01T20:06:45.000Z","size":267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-21T19:49:17.266Z","etag":null,"topics":["color-palette","color-palette-generator","color-scheme","palette-generation","random-generation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benrosen.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}},"created_at":"2020-12-31T06:05:09.000Z","updated_at":"2022-06-17T07:40:04.000Z","dependencies_parsed_at":"2022-08-14T23:50:24.246Z","dependency_job_id":null,"html_url":"https://github.com/benrosen/random-color-pair","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Frandom-color-pair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Frandom-color-pair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Frandom-color-pair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benrosen%2Frandom-color-pair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benrosen","download_url":"https://codeload.github.com/benrosen/random-color-pair/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707381,"owners_count":20334619,"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-palette","color-palette-generator","color-scheme","palette-generation","random-generation"],"created_at":"2024-10-12T21:12:00.289Z","updated_at":"2025-03-15T09:12:54.443Z","avatar_url":"https://github.com/benrosen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# random-color-pair\n\n![npm](https://img.shields.io/npm/v/random-color-pair) ![GitHub](https://img.shields.io/github/license/benrosen/random-color-pair) ![npm bundle size](https://img.shields.io/bundlephobia/min/random-color-pair) ![Maintenance](https://img.shields.io/maintenance/yes/2021) ![npm](https://img.shields.io/npm/dw/random-color-pair) ![GitHub issues](https://img.shields.io/github/issues-raw/benrosen/random-color-pair) ![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/benrosen/random-color-pair)\n\nGenerate two random colors: one darker and one lighter.\n\n## Quickstart\n\nInstall the package:\n\n```\nnpm i random-color-pair\n```\n\nImport the function:\n\n```javascript\nconst getColorPair = require(\"random-color-pair\");\n\n// OR\n\nimport getColorPair from \"random-color-pair\";\n```\n\nGet the colors:\n\n```javascript\nconst [foreground, background] = getColorPair();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenrosen%2Frandom-color-pair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenrosen%2Frandom-color-pair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenrosen%2Frandom-color-pair/lists"}