ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[SF] ColorPalettePopover "More Colors" option - add a way to receive the color in hex format

Open Vir-Mittal opened this issue 2 years ago • 1 comments

Feature Request Description

Currently, the "More Colors" option of the ColorPalettePopover returns the selected color in rgba format.

Proposed Solution

Is it possible to add an option to return the color in hex format instead?

Proposed Alternatives

Add a function to convert rgba to hex to the existing color conversion file - "@ui5/webcomponents-base/dist/util/ColorConversion.js";

Priority

  • [ ] Low
  • [x] Medium
  • [ ] High
  • [ ] Very High

Vir-Mittal avatar Mar 04 '22 23:03 Vir-Mittal

Hi team, can you, please, take a look at this enhancement request? When a color is picked for "More colors" its value is returned as a string in RGB format. Can it be a possibility for the consumer to configure this option?

Best regards, Petya Markova. (UI5 Dispatcher)

PetyaMarkovaBogdanova avatar Mar 07 '22 09:03 PetyaMarkovaBogdanova

Hello @Vir-Mittal the issues is resolved with: https://github.com/SAP/ui5-webcomponents/pull/5493 and available since 1.6.0 (1.7.1 is the latest stable)

ilhan007 avatar Sep 09 '22 12:09 ilhan007