The RGB text fields aren't the standard RGB values (integer values from 0-255). Ideally, we can rename the field widget title to display this.

CommentFileSizeAuthor
#1 colorfield-update-widget-2375009-1.patch474 byteslaughnan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

laughnan’s picture

See patch.

laughnan’s picture

Title: Rename RGB field based on it's functionality » Rename RGB field formatter based on it's functionality
laughnan’s picture

Status: Active » Needs review
mike.davis’s picture

Status: Needs review » Reviewed & tested by the community

This seems to work fine and makes more sense as to what the field actually does as it isn't true RGB values.

  • laughnan authored e87b1f7 on 7.x-1.x
    Issue #2375009 by laughnan: Rename RGB field formatter based on it's...
lolandese’s picture

Status: Reviewed & tested by the community » Fixed

Yes. On the widget description used for the actual field on e.g. node edit pages it actually says:

The 2-digit hexadecimal representation of the color saturation, like "44", "C2" or "FF".

The patch here just changes the text used for the widget selection. Of course that still makes perfectly sense.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.