{"id":15035260,"url":"https://github.com/quadflask/colorpicker","last_synced_at":"2026-10-19T14:36:18.124Z","repository":{"id":29095138,"uuid":"32624384","full_name":"QuadFlask/colorpicker","owner":"QuadFlask","description":"🍭color picker for android","archived":false,"fork":false,"pushed_at":"2023-01-24T22:11:00.000Z","size":1004,"stargazers_count":1233,"open_issues_count":50,"forks_count":224,"subscribers_count":35,"default_branch":"master","last_synced_at":"2026-10-07T23:40:24.837Z","etag":null,"topics":["android","color-picker","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/QuadFlask.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}},"created_at":"2015-03-21T07:49:18.000Z","updated_at":"2026-09-09T15:34:48.000Z","dependencies_parsed_at":"2023-02-14T02:00:58.793Z","dependency_job_id":null,"html_url":"https://github.com/QuadFlask/colorpicker","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/QuadFlask/colorpicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuadFlask%2Fcolorpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuadFlask%2Fcolorpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuadFlask%2Fcolorpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuadFlask%2Fcolorpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuadFlask","download_url":"https://codeload.github.com/QuadFlask/colorpicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuadFlask%2Fcolorpicker/sbom","scorecard":{"id":115819,"data":{"date":"2025-08-11","repo":{"name":"github.com/QuadFlask/colorpicker","commit":"ef73ced2172b37f0cbc3259eefd5770b67635b6b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":6,"reason":"Found 9/15 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.0.15 not signed: https://api.github.com/repos/QuadFlask/colorpicker/releases/21290296","Warn: release artifact 0.0.14 not signed: https://api.github.com/repos/QuadFlask/colorpicker/releases/21289064","Warn: release artifact 0.0.13 not signed: https://api.github.com/repos/QuadFlask/colorpicker/releases/5312234","Warn: release artifact 0.0.12 not signed: https://api.github.com/repos/QuadFlask/colorpicker/releases/4187817","Warn: release artifact 0.0.11 not signed: https://api.github.com/repos/QuadFlask/colorpicker/releases/3931779","Warn: release artifact 0.0.15 does not have provenance: https://api.github.com/repos/QuadFlask/colorpicker/releases/21290296","Warn: release artifact 0.0.14 does not have provenance: https://api.github.com/repos/QuadFlask/colorpicker/releases/21289064","Warn: release artifact 0.0.13 does not have provenance: https://api.github.com/repos/QuadFlask/colorpicker/releases/5312234","Warn: release artifact 0.0.12 does not have provenance: https://api.github.com/repos/QuadFlask/colorpicker/releases/4187817","Warn: release artifact 0.0.11 does not have provenance: https://api.github.com/repos/QuadFlask/colorpicker/releases/3931779"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T01:15:22.795Z","repository_id":29095138,"created_at":"2025-08-16T01:15:22.795Z","updated_at":"2025-08-16T01:15:22.795Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38358120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"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":["android","color-picker","java"],"created_at":"2024-09-24T20:28:00.217Z","updated_at":"2026-10-19T14:36:17.744Z","avatar_url":"https://github.com/QuadFlask.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Color Picker\r\n-------------\r\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Color%20Picker-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1693)\r\n![https://img.shields.io/github/tag/QuadFlask/colorpicker.svg?label=maven](https://img.shields.io/github/tag/QuadFlask/colorpicker.svg?label=maven)\r\n\r\n![icon](https://github.com/QuadFlask/colorpicker/blob/master/app/src/main/res/drawable-xxxhdpi/ic_launcher.png)\r\n\r\nsimple android color picker with color wheel and lightness bar.\r\n\r\n[Play Store link](https://play.google.com/store/apps/details?id=com.flask.colorpicker.sample)\r\n\r\n## Demo video\r\n\r\n[Youtube](https://youtu.be/MwWi9X7eqNI)\r\n\r\n\r\n## Screenshot\r\n\r\n### WHEEL_TYPE.FLOWER\r\n![screenshot3.png](https://github.com/QuadFlask/colorpicker/blob/master/screenshot/screenshot3.png)\r\n\r\n### WHEEL_TYPE.CIRCLE\r\n![screenshot.png](https://github.com/QuadFlask/colorpicker/blob/master/screenshot/screenshot.png)\r\n\r\n\r\n## How to add dependency?\r\n\r\nThis library is not released in Maven Central, but instead you can use [JitPack](https://jitpack.io)\r\n\r\nadd remote maven url in `allprojects.repositories`\r\n\r\n```groovy\r\nallprojects {\r\n\trepositories {\r\n\t\tmaven { url \"https://jitpack.io\" }\r\n\t}\r\n}\r\n```\r\n\r\nthen add a library dependency\r\n\r\n```groovy\r\ndependencies {\r\n\timplementation 'com.github.QuadFlask:colorpicker:0.0.15'\r\n}\r\n```\r\n\r\nor, you can manually download `aar` and put into your project's `libs` directory.\r\n\r\nand add dependency\r\n\r\n```groovy\r\ndependencies {\r\n\tcompile(name:'[arrFileName]', ext:'aar')\r\n}\r\n```\r\n\r\n\u003e check out latest version at [releases](https://github.com/QuadFlask/colorpicker/releases)\r\n\r\n## Usage\r\nAs a dialog\r\n```java\r\nColorPickerDialogBuilder\r\n\t.with(context)\r\n\t.setTitle(\"Choose color\")\r\n\t.initialColor(currentBackgroundColor)\r\n\t.wheelType(ColorPickerView.WHEEL_TYPE.FLOWER)\r\n\t.density(12)\r\n\t.setOnColorSelectedListener(new OnColorSelectedListener() {\r\n\t\t@Override\r\n\t\tpublic void onColorSelected(int selectedColor) {\r\n\t\t\ttoast(\"onColorSelected: 0x\" + Integer.toHexString(selectedColor));\r\n\t\t}\r\n\t})\r\n\t.setPositiveButton(\"ok\", new ColorPickerClickListener() {\r\n\t\t@Override\r\n\t\tpublic void onClick(DialogInterface dialog, int selectedColor, Integer[] allColors) {\r\n\t\t\tchangeBackgroundColor(selectedColor);\r\n\t\t}\r\n\t})\r\n\t.setNegativeButton(\"cancel\", new DialogInterface.OnClickListener() {\r\n\t\t@Override\r\n\t\tpublic void onClick(DialogInterface dialog, int which) {\r\n\t\t}\r\n\t})\r\n\t.build()\r\n\t.show();\r\n```\r\nAs a widget\r\n```xml\r\n\t\u003ccom.flask.colorpicker.ColorPickerView\r\n\t\tandroid:id=\"@+id/color_picker_view\"\r\n\t\tandroid:layout_width=\"match_parent\"\r\n\t\tandroid:layout_height=\"wrap_content\"\r\n\t\tapp:alphaSlider=\"true\"\r\n\t\tapp:density=\"12\"\r\n\t\tapp:lightnessSlider=\"true\"\r\n\t\tapp:wheelType=\"FLOWER\"\r\n\t\tapp:lightnessSliderView=\"@+id/v_lightness_slider\"\r\n\t    app:alphaSliderView=\"@+id/v_alpha_slider\"\r\n\t\t/\u003e\r\n\r\n\t\u003ccom.flask.colorpicker.slider.LightnessSlider\r\n\t\tandroid:id=\"@+id/v_lightness_slider\"\r\n\t\tandroid:layout_width=\"match_parent\"\r\n\t\tandroid:layout_height=\"48dp\"\r\n\t\t/\u003e\r\n\r\n\t\u003ccom.flask.colorpicker.slider.AlphaSlider\r\n\t\tandroid:id=\"@+id/v_alpha_slider\"\r\n\t\tandroid:layout_width=\"match_parent\"\r\n\t\tandroid:layout_height=\"48dp\"\r\n\t\t/\u003e\r\n```\r\n\r\n\r\n## To do\r\n\r\n* gradle support\r\n* performance improvement\r\n* refactoring\r\n\r\n\r\n## License\r\n\r\n```\r\nCopyright 2014-2017 QuadFlask\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n   http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquadflask%2Fcolorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquadflask%2Fcolorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquadflask%2Fcolorpicker/lists"}