{"id":13493777,"url":"https://github.com/lokesh-coder/Flat-Colors","last_synced_at":"2025-03-28T12:32:26.048Z","repository":{"id":57238016,"uuid":"51376970","full_name":"lokesh-coder/Flat-Colors","owner":"lokesh-coder","description":"Over 2K of colors for your next project","archived":false,"fork":false,"pushed_at":"2018-12-12T17:15:12.000Z","size":1412,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T04:08:55.559Z","etag":null,"topics":["colors","flat","flat-colors"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lokesh-coder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-02-09T15:49:15.000Z","updated_at":"2024-07-23T07:27:01.000Z","dependencies_parsed_at":"2022-08-26T14:04:23.154Z","dependency_job_id":null,"html_url":"https://github.com/lokesh-coder/Flat-Colors","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokesh-coder%2FFlat-Colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokesh-coder%2FFlat-Colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokesh-coder%2FFlat-Colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokesh-coder%2FFlat-Colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lokesh-coder","download_url":"https://codeload.github.com/lokesh-coder/Flat-Colors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246030703,"owners_count":20712422,"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":["colors","flat","flat-colors"],"created_at":"2024-07-31T19:01:18.707Z","updated_at":"2025-03-28T12:32:21.039Z","avatar_url":"https://github.com/lokesh-coder.png","language":"JavaScript","readme":"Flat UI Colors\n===================\n\nHand picked **2109** Flat colors for your next project.\n\n#### Install\n```\n$ npm install --save flat-ui-colors\n$ npm install --global flat-ui-colors // for cli \n```\n\n#### Usage\n\n```javascript\nvar flatUiColors = require('flat-ui-colors').default; //or\nimport flatUiColors from 'flat-ui-colors'; //for es6 modules\n\n//list all colors\nflatUiColors.get.all();\n\n//list random color\nflatUiColors.get.one(); // returns one color\n\n//list random number of colors\nflatUiColors.get.many(5); //returns 5 colors\n\n//export colors to a nice looking html page :)\nflatUiColors.export.html(); // or with a filename\nflatUiColors.export.html('filename');\n\n// get collection of colors\nflatUiColors.collection.all();\n\n// get individual color collection\n// supported colors: blue, red, pink, purle, green, yellow, orange, gray\nflatUiColors.collection.get('blue');\n\n```\n\n#### CLI usage\n\n```shell\n\n//list all colors\n$ flatc -a\n\n//list random color\n$ flatc -o\n\n//list random number of colors\n$ flatc -m 22\n\n// colorname: blue, red, pink, purle, green, yellow, orange, gray\n$ flatc -c \u003ccolorname\u003e\n\n//export as html\n$ flatc -h \u003cfilename\u003e\n```\n#### Example\n\n![Image of Falt Colors](example.png)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokesh-coder%2FFlat-Colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokesh-coder%2FFlat-Colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokesh-coder%2FFlat-Colors/lists"}