Ticket #3806 (closed feature: fixed)

Opened 4 years ago

Last modified 11 months ago

Feature request: expose getRGB and getColor

Reported by: d.wachss Owned by: gnarf
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version: 1.6rc4
Keywords: color Cc:
Blocking: Blocked by:

Description

The functions getRGB and getColor (and the colors array) are useful for anyone dealing with CSS and color, but they are private to effects.core.js

Can they be made public? Something like

$.effects.getRGB = function getRGB(...

Change History

comment:1 Changed 4 years ago by joern.zaefferer

  • Component changed from ui.core to effects.core

comment:2 Changed 4 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.7.2

comment:3 Changed 4 years ago by rdworth

  • Milestone changed from 1.7.2 to 1.8

comment:5 Changed 2 years ago by gnarf

  • Status changed from new to open

comment:6 Changed 2 years ago by gnarf

  • Owner set to gnarf
  • Status changed from open to assigned

Being handled in the rewrite of jQuery.color

comment:7 Changed 2 years ago by gnarf

  • Keywords color added

comment:8 Changed 11 months ago by Scott González

  • Status changed from assigned to closed
  • Resolution set to fixed

Upgrade to jquery-color 2.0pre. Fixes #6910 - Trying to animate the background color of a document fragment can easily fail. Fixes #5215 - Effects color: Add support for rgba animations. Fixes #4372 - Animate backgroundColor to 'transparent'. Fixes #5393 - getColor reports inaccurate color for transparent elements in Webkit. Fixes #3806 - Feature request: expose getRGB and getColor.

Changeset: 13d560b8f05a8eedbf28851824fe639a254f9fd0

Note: See TracTickets for help on using tickets.