-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Basic Colors
Ryc O'Chet edited this page Jun 3, 2018
·
1 revision
- NOTE: This documentation is for Velocity v2.
Internally Velocity will convert all colors to their rgb
/ rgba
values before using. It supports all web color names, and can convert between types. This allows you to use things such as rgba(red, 0.5)
and have it convert automatically, this also allows animation from one color value to another.
$element.velocity({
backgroundColor: [ "rgba(red, 0.5)", "rgba(green, 0.25)" ]
});