Skip to content

Expose getRGB and getColor somehow? #7

@gnarf

Description

@gnarf

http://bugs.jqueryui.com/ticket/3806

I would propose that jQuery.color( '#abcdef' ) return a color object suitable for manipulation/passing to animate:

Would allow for something like:

var color = jQuery.color( $element.css( 'backgroundColor' ) ).alpha('-=0.5');
$element.animate({ backgroundColor: color });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions