ment-mx / Prism

Creates a beautiful artboard color palette with all your 'Document Colors' and their respective color label in a variety of formats.
MIT License
1.01k stars 47 forks source link

Different hex code than in Sketch color panel #19

Closed giuseppebergman closed 7 years ago

giuseppebergman commented 7 years ago

Hi, and thank you for this nice plugin!

I noticed that hexadecimal values are sometimes different between Sketch color palette, and the palette artwork generated by Prism. For example:

Is it possible to ensure that all codes are the same between Sketch and Prism?

Thanks a lot!

lalomts commented 7 years ago

Wow, that one was hard to spot, @giuseppebergman!

The hex values are actually calculated by Sketch, so we don't really know whats going on there. 👎 I think the best way to solve this is to calculate the hex values ourselves based on the rgba values. We'll try to fix it a soon as possible!

giuseppebergman commented 7 years ago

Well, I have to align my client's development color palette with my design palette. As we usually share hex values, the bug was spotted pretty quickly…

Anyway, thanks for looking into it even if it's Sketch's mess!

lukaspili commented 7 years ago

Any progress on the issue? It's bothering our designer :) and the export to Android xml is incorrect because it's using those hex values.

Thanks.

lalomts commented 7 years ago

Hello, guys! The hex color export is now fixed. Please make sure to test the latest release and reach out if you find something else. 😃