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

Website Contact form using AWS

Website Contact form using AWS

For the next iteration of the HTML form was to set it up to send an email to the web owner using AWS. The purpose behind this is, if you have a HTML site and don’t want to purchase a monthly plan or build and maintain server software. Using AWS for this functionality...

read more
HTML with JavaScript contact form

HTML with JavaScript contact form

Link to the form: https://www.lynnamacher.com/pdf/contactForm_V1.html This is created to be basic test for an AWS contact form test. The full form when filled out will send an email through AWS to the site owner. Instead of creating the normal test form I try to...

read more
Sometimes the low-tech approach is the best way

Sometimes the low-tech approach is the best way

Have a family member looking to get me some family videos they had digitized, in one big file, about 80GB (they may not have optimized or know how). The need: The family member’s internet connection isn’t the best and could get disconnected at times, when this happens...

read more

Pin It on Pinterest

Share This