{"id":25876117,"url":"https://github.com/andrewarrow/colors-and-stuff","last_synced_at":"2025-08-20T09:04:35.296Z","repository":{"id":136255134,"uuid":"4043010","full_name":"andrewarrow/colors-and-stuff","owner":"andrewarrow","description":"color picker for bootstrap","archived":false,"fork":false,"pushed_at":"2012-04-18T16:04:17.000Z","size":260,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T04:02:40.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/andrewarrow.png","metadata":{"files":{"readme":"README","changelog":null,"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":"2012-04-16T16:50:17.000Z","updated_at":"2014-01-09T00:04:47.000Z","dependencies_parsed_at":"2023-03-10T19:51:07.022Z","dependency_job_id":null,"html_url":"https://github.com/andrewarrow/colors-and-stuff","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/andrewarrow%2Fcolors-and-stuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcolors-and-stuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcolors-and-stuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcolors-and-stuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewarrow","download_url":"https://codeload.github.com/andrewarrow/colors-and-stuff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241489117,"owners_count":19970997,"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":"2025-03-02T10:20:53.910Z","updated_at":"2025-03-02T10:20:54.071Z","avatar_url":"https://github.com/andrewarrow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Started working on a color picker for bootstrap: \n\nIt's a simple rails app with a database of about 800 colors with this \nas the color table schema: \n\n  create_table \"colors\", :force =\u003e true do |t| \n    t.string  \"name\" \n    t.string  \"w3c\" \n    t.string  \"hex\" \n    t.integer \"red\" \n    t.integer \"green\" \n    t.integer \"blue\" \n    t.integer \"hue\" \n    t.integer \"hsl_satur\" \n    t.integer \"hsl_light\" \n    t.integer \"hsv_satur\" \n    t.integer \"hsv_value\" \n    t.string  \"shade\" \n  end \n\nThe idea is not to have pre-defined palettes that an artist must pick \nand get stale.  i.e. popular palettes are used over and over and don't \nlook original after awhile. But rather, let some programming logic \npick colors and let a human click a button and review the picks over \nand over until they find a set that's awesome.  Here's 10 screen shots \nof different picks: \n\nhttp://farm8.staticflickr.com/7211/6943006634_e399c41cf4_b.jpg \nhttp://farm8.staticflickr.com/7244/7089077497_e1f54fde62_b.jpg \nhttp://farm8.staticflickr.com/7266/6943006550_60cc381be4_b.jpg \nhttp://farm8.staticflickr.com/7199/7089077429_0d586e5da7_b.jpg \nhttp://farm6.staticflickr.com/5198/6943006496_cf0eb1ff3f_b.jpg \nhttp://farm6.staticflickr.com/5275/6943006466_e4bd74846c_b.jpg \nhttp://farm6.staticflickr.com/5112/7089077317_2b549aa349_b.jpg \nhttp://farm6.staticflickr.com/5346/7089077291_72e5b68765_b.jpg \nhttp://farm8.staticflickr.com/7180/7089077243_c355e4e925_b.jpg \nhttp://farm6.staticflickr.com/5344/7089077211_d675b9a50b_b.jpg \n\nThe logic is very simple right now.  The plan is to change the logic \nto use fields like hsl_satur and hue to make better choices.  Feedback \nappreciated, thanks. \n\nTO RUN:\n\n1. curl http://en.wikipedia.org/wiki/List_of_colors \u003e script/html_colors.html\n2. bundle install\n3. rake db:migrate\n4. rails r script/colors.rb\n5. rails s\n6. open http://localhost:3000\n7. make sure bootstrap checkout is in ../bootstrap\n8. make sure lessc is in path\n9. press change colors button\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fcolors-and-stuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewarrow%2Fcolors-and-stuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fcolors-and-stuff/lists"}