{"id":16125785,"url":"https://github.com/dy/color-tool","last_synced_at":"2025-09-12T23:30:56.894Z","repository":{"id":4711592,"uuid":"5859445","full_name":"dy/color-tool","owner":"dy","description":"Color picker component","archived":false,"fork":false,"pushed_at":"2015-06-20T11:20:25.000Z","size":1823,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-03T23:47:43.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dfcreative.github.io/color-tool","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/dy.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":"2012-09-18T16:44:02.000Z","updated_at":"2024-05-08T09:19:53.000Z","dependencies_parsed_at":"2022-09-13T23:51:25.556Z","dependency_job_id":null,"html_url":"https://github.com/dy/color-tool","commit_stats":null,"previous_names":["dfcreative/color-tool","dfcreative/picky"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dy/color-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fcolor-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fcolor-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fcolor-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fcolor-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dy","download_url":"https://codeload.github.com/dy/color-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fcolor-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274893250,"owners_count":25369278,"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-09-12T02:00:09.324Z","response_time":60,"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":[],"created_at":"2024-10-09T21:32:04.221Z","updated_at":"2025-09-12T23:30:56.576Z","avatar_url":"https://github.com/dy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Multipurpose color picker component. **[Demo](https://dfcreative.github.io/color-tool)**.\n\n[![alt](https://travis-ci.org/dfcreative/color-tool.svg?branch=master)](https://travis-ci.org/dfcreative/color-tool)\n[![alt](https://codeclimate.com/github/dfcreative/color-tool/badges/gpa.svg)](https://codeclimate.com/github/dfcreative/color-tool)\n[![alt](https://david-dm.org/dfcreative/color-tool.svg)](https://david-dm.org/dfcreative/color-tool)\n[![unstable](http://badges.github.io/stability-badges/dist/unstable.svg)](http://github.com/badges/stability-badges)\n\n\n## Use\n\n[![NPM](https://nodei.co/npm/color-tool.png?mini=true)](https://nodei.co/npm/color-tool/)\n\n```js\n\tvar ColorPicker = require('color-tool');\n\tvar Color = require('color2');\n\n\tvar c = new Color('red');\n\n\tvar picker = new ColorPicker({\n\t\tcolor: color,\n\t\tspace: 'rgb',\n\t\tchannel: ['red']\n\t});\n\n\tdocument.body.appendChild(picker.element);\n```\n\n## Options\n\n| Name | Description |\n|---|---|\n| color | Color instance to use as a model. |\n| space | Color space to render. See [list of available spaces](http://github.com/dfcreative/color-space). |\n| channel | Color channel(s) to render in color space. Whether string or array. |\n| type | Type of color picker to set up: `horizontal`, `vertical`, `rectangular`, `radial`, `polar` or other. |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Fcolor-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdy%2Fcolor-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Fcolor-tool/lists"}