Git Product home page Git Product logo

colorido.js's Introduction

Colorido.JS

Colorido.Js is a awesome , flexible and cross-browser dynamically color changing tool for web projects.

###Example Demo Image

With colorido colors can be dynamically generated, with many other options:

  • autoChange
  • chromTab Color
  • refresh color change etc

Installation

Install Colorido via Bower:

$ bower install colorido.js --save

Install Colorido via npm:

$ npm install colorido.js 

Basic Usage

  1. Include the colorido at bottom of file and above</body>
  <script src="scripts/colorido.min.js" type="text/javascript>
</body>
</html>

2.Initiate the colorido.js script in the file by following json:

    var config = {
	opacity: 0.7,
	choice: [
		'rgb(138, 43, 43)',
		'rgb(98, 162, 40)',
		'rgb(40, 162, 162)', 
		'rgb(40, 66, 162)', 
		'rgb(121, 40, 162)', 
		'rgb(121, 40, 162)', 
		'rgb(40, 100, 162)', 
		'rgb(230, 74, 25)'
	], 
	autoChange: true, 
	autoDuration: 5,  
	animationDuration: 0.3,  
	animationType:"ease-in-out", 
	chromeTab: true 
}
  • opacity: Background opacity for colorido-o (0-1)
  • choice: Array of colors.
  • autoChange: true|False, Auto Color Change Settings
  • autoDuration: Auto Color Change Duration in Seconds
  • animationDuration:Color Changing Animation Duration
  • animationType:Animation Type
  • chromeTab: Color Change Settings for chrome Tabs on android, wp and ios

3.Colorido.js simply works upon 3 css classes:

  • colorido: Applies Dynamic background color
  • colorido-o: Applies background color with opacity
  • colorido-t: Applies dynamic Text-color

Applies these classes on your webcomponents to see magic

Check Demo Here

License

Colorido.JS is licensed under the MIT license. (http://opensource.org/licenses/MIT)

Contribution

You are free to contribute to colorido.js. It is built in javascript,I would love to upgrade it to jquery or any other

colorido.js's People

Contributors

parassharmaa avatar

Watchers

James Cloos avatar shadrack 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.