-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I mix colors by using js? #53
Comments
Here are some ways to mix two or three different colors to a single color in JavaScript : var mix = []; // Will return [63, 59, 98, 1] |
When working with colors in JavaScript, they are typically represented in formats like: Hexadecimal (e.g., #ff0000 for red) Usually, mixing colors requires you to extract and manipulate the individual RGB components. However, this can be clumsy if you want to mix multiple colors without getting into the details of color component calculations. We can instead take benefits of the Canvas API to make this process easier. |
i will solve u want |
I want to mix two or three colors to one color.
I don’t care about color components(Using r,g,b or other things)
If there is any way to do this, please let me know!
thanks,
The text was updated successfully, but these errors were encountered: