Comments (6)
@sifulbd yes, use this script https://github.com/javierbyte/colorblendjs/blob/master/index.js and then var resultColor = colorBlend.overlay(firstColor, secondColor, intensity);
in which firstColor
and secondColor
are rgb arrays ([r, g, b]
, for example [160, 179, 197]
).
from cohesive-colors.
wow. Thanks for immediate response. can you provide me a demo like codepen.io or jsfiddle?
its helps me to understand.
Regards,
from cohesive-colors.
@sifulbd see https://github.com/javierbyte/colorblendjs/blob/gh-pages/index.html#L72
from cohesive-colors.
tried but its not working like cohesive-colors. all the component is not working like this one.
from cohesive-colors.
@javierbyte I wanted similar like, click to open color plate and change opacity. also add more color and remove. is it possible?
from cohesive-colors.
@sifulbd ah! I understand now. That is out of the scope of this project. The real thing is https://github.com/javierbyte/colorblendjs a lib to apply the color overlay, this repo (including the color picker etc) it's only a demo for the colorblendjs.
from cohesive-colors.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cohesive-colors.