Highlighted

HSLA color format values are incorrect in prototype specs view

Community Beginner ,
Aug 19, 2020

Copy link to clipboard

Copied

In the Specs View of a shared prototype, when changing the color format to HSLA, the values generated are not accurate.

 

Eg: #7FCAEF shows a HSLA value of: hsla(199, 77%, 71%, 1):

Screenshot 2020-08-19 at 11.58.38.png

 

When using other online color conversion tools I get the value of: hsla(200, 78%, 72%, 1)

On further inspection, I found a more accurate conversion tool which gives the value of: hsla(199.8, 77.8%, 71.8%, 1)

 

It would appear that Adobe XD is rounding the values down rather than to the closest whole number.

 

Please can this be rectified, unless there's a reason for this?

Cheers

Euan

 

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

HSLA color format values are incorrect in prototype specs view

Community Beginner ,
Aug 19, 2020

Copy link to clipboard

Copied

In the Specs View of a shared prototype, when changing the color format to HSLA, the values generated are not accurate.

 

Eg: #7FCAEF shows a HSLA value of: hsla(199, 77%, 71%, 1):

Screenshot 2020-08-19 at 11.58.38.png

 

When using other online color conversion tools I get the value of: hsla(200, 78%, 72%, 1)

On further inspection, I found a more accurate conversion tool which gives the value of: hsla(199.8, 77.8%, 71.8%, 1)

 

It would appear that Adobe XD is rounding the values down rather than to the closest whole number.

 

Please can this be rectified, unless there's a reason for this?

Cheers

Euan

 

Views

64

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 19, 2020 0
Adobe Employee ,
Aug 19, 2020

Copy link to clipboard

Copied

Hi Euan,

 

Thank you for reaching out and sharing your obeservation. The HSLA value does appears to be same as shown in screenshot. Would you mind sharing the name of the conversion tool you used so that I can check at my end as well? If possible, I will raise a feedback ticket with the team for investigation purpose and share the updates with you.

 

Thanks,

Harshika

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 19, 2020 0
Community Beginner ,
Aug 19, 2020

Copy link to clipboard

Copied

Hi Harshika

 

https://www.colorhexa.com/7FCAEF is the site I used that gives the hsl value to 1 decimal place.

https://convertingcolors.com/hex-color-7FCAEF.html?search=7FCAEF is a site (amongst others) that rounds to the closest whole number.

 

Many thanks

Euan

 

 

 

 
 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 19, 2020 0
Adobe Employee ,
Aug 19, 2020

Copy link to clipboard

Copied

Thanks Euan for sharing the info. Could you please also share the OS and XD version of your machine?

 

Thanks,

Harshika

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 19, 2020 0
Community Beginner ,
Aug 19, 2020

Copy link to clipboard

Copied

Hi Harshika

 

OS is MacOS Catalina - 10.15.6

XD is 31.2.12.4, Creative Cloud Sync 4.3.51.3

 

Thanks

Euan

 
 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 19, 2020 0
Adobe Employee ,
Aug 20, 2020

Copy link to clipboard

Copied

Thanks, Euan for sharing the additional information. I have logged a bug for your issue so that the team can investigate on it. I will share the updates with you as soon as I hear back from the team.

 

Thanks,

Harshika

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 20, 2020 0
jaffao LATEST
Community Beginner ,
Aug 27, 2020

Copy link to clipboard

Copied

Thanks Harshika

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 27, 2020 0