[Solved] RadColorEditor alpha as byte or 255 rather than percentage?

1 Answer 76 Views
ColorEditor
David
Top achievements
Rank 1
David asked on 12 Mar 2025, 08:11 PM

Hi there,

In the color editor, is there a mechanism to have alpha show as 0... 255 rather than as a percentage?  Our users are accustomed to working with these colors as 4x byte values for consistency.

I don't think I see a setting similar to AlphaSettingsVisibility, but I thought I'd ask to see whether I've missed anything.

Thanks!

-David

1 Answer, 1 is accepted

Sort by
0
Accepted
Stenly
Telerik team
answered on 17 Mar 2025, 02:29 PM

Hello David,

Currently, this requirement is not possible with the RadColorEditor as the RadMaskedNumericInput and the RadSlider elements are used for specifying the alpha value of the color work between 0 and 1. Internally, after the alpha value is updated, it is multiplied by 255 and converted to a byte, which cannot be intercepted and changed for the time being. 

With this in mind, I logged a new feature request in our feedback portal, to provide an option to specify the alpha in the range of 0 to 255. It can be found at the following link where it can be voted for, as well as followed, in order to get notified via e-mail when its status gets changed:

ColorEditor: Add an option to specify the range for the alpha value of the color to between 0 and 255

In addition, as a token of gratitude for bringing this to our attention, I updated your Telerik points.

With this being said, I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

David
Top achievements
Rank 1
commented on 17 Mar 2025, 04:59 PM

Thank you for the confirmation that it's not currently possible!  I'll follow that feature request.
Tags
ColorEditor
Asked by
David
Top achievements
Rank 1
Answers by
Stenly
Telerik team
Share this question
or