{"id":13848884,"url":"https://github.com/MichaelEvans/ColorArt","last_synced_at":"2025-07-12T13:33:05.858Z","repository":{"id":12114833,"uuid":"14704618","full_name":"MichaelEvans/ColorArt","owner":"MichaelEvans","description":"iTunes 11-style color matching code for Android","archived":false,"fork":false,"pushed_at":"2020-10-30T22:30:44.000Z","size":3711,"stargazers_count":899,"open_issues_count":9,"forks_count":140,"subscribers_count":49,"default_branch":"master","last_synced_at":"2024-06-30T22:07:21.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.michaelevans.org/blog/2013/12/12/colorart-a-library-to-do-itunes-11-style-color-matching-for-android/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MichaelEvans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-26T02:14:02.000Z","updated_at":"2023-12-07T05:19:33.000Z","dependencies_parsed_at":"2022-09-13T20:30:45.613Z","dependency_job_id":null,"html_url":"https://github.com/MichaelEvans/ColorArt","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/MichaelEvans%2FColorArt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelEvans%2FColorArt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelEvans%2FColorArt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelEvans%2FColorArt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MichaelEvans","download_url":"https://codeload.github.com/MichaelEvans/ColorArt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213518131,"owners_count":15599226,"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":[],"created_at":"2024-08-04T19:01:00.696Z","updated_at":"2024-08-04T19:03:33.738Z","avatar_url":"https://github.com/MichaelEvans.png","language":"Java","funding_links":[],"categories":["Java","Libs","Theme / Skin","Uncategorized"],"sub_categories":["\u003cA NAME=\"Utility\"\u003e\u003c/A\u003eUtility","Uncategorized"],"readme":"##About\n\nColorArt is a library that uses an image to create a themed image/text display. It's a port of the idea found on the [Panic Blog](http://www.panic.com/blog/itunes-11-and-colors/) to work on Android.\n\n##Usage\n\n(ColorArt is supported on Android 2.1+.)\n\nAdd ColorArt as a dependency to your build.gradle file:\n\n```\ncompile 'org.michaelevans.colorart:library:0.0.3'﻿\n```\n\nThen you can use the library like this:\n\n```\n// get a bitmap and analyze it\nBitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album);\nColorArt colorArt = new ColorArt(bitmap);\n\n// get the colors\ncolorArt.getBackgroundColor()\ncolorArt.getPrimaryColor()\ncolorArt.getSecondaryColor()\ncolorArt.getDetailColor()\n```\n\n###FadingImageView\n\n```\nmFadingImageView.setBackgroundColor(colorArt.getBackgroundColor(), FadingImageView.FadeSide.LEFT);\n```\nThis will set the fading edge on the left side, with that background color. You can also enable/disable the fade with:\n\n```\nmImageView.setFadeEnabled(true/false);\n```\n\n\n##Screenshots\n\n![Jim Noir](https://github.com/MichaelEvans/ColorArt/raw/master/img/jim_noir.png)\n![Ping Pong Orchestra](https://github.com/MichaelEvans/ColorArt/raw/master/img/ping_pong_orchestra.png)\n![Hotel Shampoo](https://github.com/MichaelEvans/ColorArt/raw/master/img/hotel_shampoo.png)\n\n##License\n\n```\nCopyright 2015 Michael Evans\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/MichaelEvans/colorart/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMichaelEvans%2FColorArt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMichaelEvans%2FColorArt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMichaelEvans%2FColorArt/lists"}