Skip to content

Instantly share code, notes, and snippets.

View cravindra's full-sized avatar
👨‍💻
Focus mode on

Chirag Ravindra cravindra

👨‍💻
Focus mode on
View GitHub Profile
@cravindra
cravindra / kelly_colors.js
Last active September 30, 2018 10:28 — forked from ollieglass/kelly_colors.py
Kenneth Kelly's 22 colors of maximum contrast
// theory - https://eleanormaclure.files.wordpress.com/2011/03/colour-coding.pdf (page 5)
// kelly's colors - https://i.kinja-img.com/gawker-media/image/upload/1015680494325093012.JPG
// hex values - http://hackerspace.kinja.com/iscc-nbs-number-hex-r-g-b-263-f2f3f4-242-243-244-267-22-1665795040
const kellyColors = ['#F2F3F4', '#222222', '#F3C300', '#875692', '#F38400', '#A1CAF1', '#BE0032', '#C2B280', '#848482', '#008856', '#E68FAC', '#0067A5', '#F99379', '#604E97', '#F6A600', '#B3446C', '#DCD300', '#882D17', '#8DB600', '#654522', '#E25822', '#2B3D26']
// https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
const LABEL_COLORS = ['#e6194b', '#3cb44b', '#ffe119', '#4363d8', '#f58231', '#911eb4', '#46f0f0', '#f032e6', '#bcf60c', '#fabebe', '#008080', '#e6beff', '#9a6324', '#fffac8', '#800000', '#aaffc3', '#808000', '#ffd8b1', '#000075', '#808080', '#ffffff', '#000000']
/* global grecaptcha */
/* global $ */
/* global window */
import Ember from 'ember';
/**
* Component to handle Render and Forward Result of the reCaptcha Challenge
*/
export default Ember.Component.extend({
/**