Giter VIP home page Giter VIP logo

autism-colors's Introduction

Autism Spectrum Disorder Friendly Color Generator

Kids with autism can have an especially hard time managing their concentration while interacting with their environment. Some colors and patterns might also give them anxiety.

This tool is intended to generate colors for your User Interfaces that will be used by kids with autism. However, the colors that this tool generates can be used in things like book covers, page and typography design or something as simple as what color to paint a room.

How does it work?

  • Subdued and colours mixed with grey were favored by the children with autism
  • A predominant preference for colours in the Blue/Green hue sectors was notable
  • A balance between colourfulness and greyness is seen to be popular.

How?

How to use?

Install via npm or clone this repo;

npm install autism-colors

Then require the module to your file and use like below;

var autismColors = require("autism-colors");

// autismColors(brightOrDark, lessOrMoreVariety, hueValue);

// Return special colors
console.log(autismColors(true, true, 'rgb')); // SMTH: [164,158,176]

// Return all tones of ASD Friendly colors
console.log(autismColors(true, false, 'hex')) // SMTH: #93ada2

// Return ASD Friendly color with 180 degree hue value.
console.log(autismColors(false, false, 'hsb', 180)) // SMTH: [180, 11, 61]

autism-colors's People

Contributors

btk avatar joereddington avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.