CMYK converter added

March 23, 2022
screenshot of converter

CMYK is a tricky one, since each device would interpret the colors differently. Had almost decided not to even include it but thought it could be useful at times. Looking around I found a basic formula that most people were using to give a rough idea for the color. I did try another formula that was too far off. Tring to test with converters was interesting, I tested across 5 different converters and came up with 4 different answers one of them was close the red in Hex and RGB was off by one each time. If I had 51 it was 50 from that converter. And converting from CMYK to the others through tests would sometimes be far off. This is mostly from CMYK is an analog for color where RGB and Hex are all digital, conversions of these should always be the same.

For this one I broke apart the colors to 4 boxes and having the trigger activate on the last one, black (K). For both Hex and RGB it they run through the same converter for CMYK, for Hex once it makes the RGB color it then passes it to a function to then create the CMYK. I prefer to do a formula straight from the color to the other without a convert then convert, but there really isn’t a Hex to CMYK formula out there. Since CMYK is an analog color I also limited it to be 2 after the decimal.

Used this site that has web safe colors to do my testing:
https://www.december.com/html/spec/colorsafecodes.html

Converter App: https://www.lynnamacher.com/converter/

Related Articles

Python – Birthday List

Python – Birthday List

Birthday List Python Program Worked on a project for a publication to pull the birthdays of their members quickly. To help demonstrate what they were working with; they had two Word files containing tables of birthday months, the dates for the month were not in order...

read more
Microsoft Certified: Azure AI Fundamentals

Microsoft Certified: Azure AI Fundamentals

Passed the Microsoft Certified: Azure AI Fundamentals Certification:https://learn.microsoft.com/api/credentials/share/en-us/LynnAmacher-1690/4DB4563B79AA3C11?sharingId=9196330BBB36EAF4 The graphic was created in Microsoft Image creator with DALL-E where I added the...

read more
AI as your assistant

AI as your assistant

With all the talk of AI will be taking your job and articles like you don’t need to learn coding AI will do it all for you. I’ve been playing around with AI, decided to try to see how much of what AI can be done for me. I use AI generical throughout the post and not...

read more

Pin It on Pinterest

Share This