Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Orrex

(63,203 posts)
Sun Nov 8, 2020, 10:09 PM Nov 2020

Is there a good way to identify the color values of a particular shade?

Looking for a way to determine either the RGB* values or hex code for a given color, for purposes of a very informal CAD project. I have several physical object whose colors I need to represent, and aside from eye-balling them next to an online color chart, I can't think of how best to do it.

* RGB refers here to red/green/blue and not the sadly departed Ruth Bader Ginsberg, alas.

32 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Is there a good way to identify the color values of a particular shade? (Original Post) Orrex Nov 2020 OP
Can you get hold of a Pantone spec book? ZZenith Nov 2020 #1
Possibly. That might be a good way to go. Orrex Nov 2020 #4
Put the object and the specifier under the same light, find the closest color(s) ZZenith Nov 2020 #7
I know there are android apps luv2fly Nov 2020 #2
Worth looking into. Orrex Nov 2020 #5
Do you know any painters? They should have a ring of color samples. Lochloosa Nov 2020 #3
Nice! Orrex Nov 2020 #6
You would probably then need to go to that paint manufacturer's website ZZenith Nov 2020 #8
Lots of scan devices out there match color. Jirel Nov 2020 #9
If you have Photoshop, it is a very easy process Ferrets are Cool Nov 2020 #10
yeah, i was gonna say that. the eyedropper tool mopinko Nov 2020 #13
Well, I don't know that it's that simple Orrex Nov 2020 #14
You could do a Gaussian blur on the image first... targetpractice Nov 2020 #22
Now that's a great nuts-and-bolts suggestion Orrex Nov 2020 #24
Upon further reflection... targetpractice Nov 2020 #25
Use this website! Jack Floto Nov 2020 #11
Thanks! Orrex Nov 2020 #16
We had devices to measure those values... Buckeye_Democrat Nov 2020 #12
That's really cool, though admittedly more sophisticated than I need Orrex Nov 2020 #15
Paint stores have devices that measure the color of samples csziggy Nov 2020 #17
I can check for a color sampler. We have several paint-matching stores around here Orrex Nov 2020 #20
Newer versions of Photoshop will sample a larger area csziggy Nov 2020 #26
Call around to the printing companies in your area jmowreader Nov 2020 #18
That's an amazing suggestion but honestly a little more high-end than is warrranted Orrex Nov 2020 #19
I used one to wrap a tournament bass boat jmowreader Nov 2020 #21
Because you know it's all about that bass Orrex Nov 2020 #23
We used an Xrite at my last QC job! Buckeye_Democrat Nov 2020 #27
I just ask my wife or daughter-in-law. hunter Nov 2020 #28
This message was self-deleted by its author Akki1 Apr 2021 #29
That is really cool! flibbitygiblets Apr 2021 #30
Holy moly that sounds awesome--I'll give it a try! Orrex Apr 2021 #31
Message auto-removed Name removed Jan 2022 #32

ZZenith

(4,121 posts)
7. Put the object and the specifier under the same light, find the closest color(s)
Sun Nov 8, 2020, 10:26 PM
Nov 2020

and then any decent graphics program will tell what that Pantone number equates to in the different formulae.

Or just tell me the numbers and I can do it.

luv2fly

(2,475 posts)
2. I know there are android apps
Sun Nov 8, 2020, 10:14 PM
Nov 2020

Results vary based on quality of the original color (screen versus physical material).

Orrex

(63,203 posts)
5. Worth looking into.
Sun Nov 8, 2020, 10:23 PM
Nov 2020

I'm concerned about getting good lighting. Most of the lights in my house give a piss-yellow shade to photos.

Lochloosa

(16,063 posts)
3. Do you know any painters? They should have a ring of color samples.
Sun Nov 8, 2020, 10:17 PM
Nov 2020

This is not a color chart. A ring has several hundred colors.

If you don't know a painter try s Sherwin Williams store. They can help you.

Orrex

(63,203 posts)
6. Nice!
Sun Nov 8, 2020, 10:24 PM
Nov 2020

Maybe I could deal myself a deck of color samples from the paint rack.

Quick--create a distraction while I grab a few hundred!


I may know a guy who has such a ring. He's a handyman and does a lot of paint contracting.

ZZenith

(4,121 posts)
8. You would probably then need to go to that paint manufacturer's website
Sun Nov 8, 2020, 10:29 PM
Nov 2020

and download a “swatch” of their digital sample and then test that for its RGB ratios. Having the paint color number won’t tell you anything.

Jirel

(2,018 posts)
9. Lots of scan devices out there match color.
Sun Nov 8, 2020, 10:39 PM
Nov 2020

Some even connect to your phone. From there it can be translated to hex, Pantone, RGB, etc.

Orrex

(63,203 posts)
14. Well, I don't know that it's that simple
Mon Nov 9, 2020, 12:57 AM
Nov 2020

When I've taken a pic of an object, or even a scan of an object's flat surface, there's wide variance from one pixel to the next to the next. What looks like a uniformly yellow surface might easily be a mix of olive, pure yellow, 100 different shades of yellow, and so on. If I use the eyedropper, I can wind up with any of those.

I'm not working from a recent version of Photoshop, but does a more current version (or Gimp) offer an "averaging" feature, whereby you can take samples from multiple points on an object and get the average color value?

targetpractice

(4,919 posts)
22. You could do a Gaussian blur on the image first...
Mon Nov 9, 2020, 10:08 AM
Nov 2020

...That should smooth out the pixel by pixel variation.

Also, take a photo of your object in sunlight... ambient light affects the perceived color.

Obviously a spectrophotometer would be best, but this is a quick and dirty solution that I would at least try myself.

targetpractice

(4,919 posts)
25. Upon further reflection...
Mon Nov 9, 2020, 11:58 AM
Nov 2020

Select a representative portion of your object, maybe crop it out, and keep blurring until the process settles in on a color for most pixels.

I'm not at a computer to test my suggestions, but would love to know if they helped at all... Good luck.

Jack Floto

(60 posts)
11. Use this website!
Sun Nov 8, 2020, 11:01 PM
Nov 2020
https://www.ginifab.com/feeds/pms/color_picker_from_image.php

You can upload the image to this site and then select the color from the image that you need identified. It'll give you the hex code, RGB code and CMYK code

Orrex

(63,203 posts)
16. Thanks!
Mon Nov 9, 2020, 12:59 AM
Nov 2020

This might present the same issue that I described with Photoshop above, but it's definitely worth a look.

Buckeye_Democrat

(14,853 posts)
12. We had devices to measure those values...
Sun Nov 8, 2020, 11:02 PM
Nov 2020

... when I worked quality control for a TV manufacturer, but I'm sure they were expensive as heck.

Colorimeters like this, but sturdier looking:
https://www.directindustry.com/prod/pce-instruments/product-37414-1477499.html

csziggy

(34,136 posts)
17. Paint stores have devices that measure the color of samples
Mon Nov 9, 2020, 02:36 AM
Nov 2020

I don't know if they give the RGB values or are just set to give the color formula for mixing paint to match. You could call a paint store and ask.

Rather than take a photo of something you need to read the RGB values, scanning would give a more accurate image and therefore measurement since the scanner light and sensor are calibrated for accuracy - at least on good scanners . I know some Epson scanners can scan three dimensional items so that might even work with your objects. Of course, you would need to select the best lit section of the scan to sample.

As suggested, PhotoShop has an eyedropper tool that can tell you the RGB values of the place you sample. I do not know if some of the free PhotoShop knock offs such a GIMP has similar tools.

ETA - yes, GIMP does have a color picker tool and it can tell you the hex code for colors:

Orrex

(63,203 posts)
20. I can check for a color sampler. We have several paint-matching stores around here
Mon Nov 9, 2020, 03:32 AM
Nov 2020

My ancient version of Photoshop has the eyedropper (as did the version of Paint Shop Pro that I used in the early 90s).

Thanks for the vid. I'm not very good with Gimp, though Photoshop and I go way back.

The problem, though, is that the dropper in either platform (as far as I can tell) takes a sample from one pixel, which is less than ideal for the reasons I described above.

I'd like the dropper to offer multiple sizes, averaging the color value across the sampled area. The programming for such a thing is far, far beyond me, but the math seems very simple.

csziggy

(34,136 posts)
26. Newer versions of Photoshop will sample a larger area
Mon Nov 9, 2020, 12:09 PM
Nov 2020

I have PhotoShop CS6 (several years old) and it not only does point samples, it will take an average of an area with a radius of 101 pixels.

Just checked my older Photoshop books - version 5.5 offered only 3x3 and 5x5 sample areas - and the point sample.

jmowreader

(50,555 posts)
18. Call around to the printing companies in your area
Mon Nov 9, 2020, 02:49 AM
Nov 2020

Ask them if they have an Xrite i1 spectrophotometer. If they do, take them the objects you want the colors read from. The device will return the CIELAB color values of the objects; from there they can use Photoshop to translate CIELAB to RGB.

Orrex

(63,203 posts)
19. That's an amazing suggestion but honestly a little more high-end than is warrranted
Mon Nov 9, 2020, 03:26 AM
Nov 2020

As I mentioned, it's a very informal CAD project, not worth involving something with so man syllables.

Still, it's a great idea. I only wish that I were working on something worthy of it!

jmowreader

(50,555 posts)
21. I used one to wrap a tournament bass boat
Mon Nov 9, 2020, 04:04 AM
Nov 2020

The angler wanted the boat to exactly match his truck. I used my i1 to scan many places on the truck, averaged, printed...the guy showed up and said he couldn’t believe we did it.

They are expensive; mine was $1500 and it was the cheap one. If you sell color like I do, you need one.

Orrex

(63,203 posts)
23. Because you know it's all about that bass
Mon Nov 9, 2020, 11:30 AM
Nov 2020

You're definitely working at a higher level than I am, but it sounds like a really cool application.

Buckeye_Democrat

(14,853 posts)
27. We used an Xrite at my last QC job!
Mon Nov 9, 2020, 03:59 PM
Nov 2020

I almost forgot about it because it wasn't needed too often at that particular job.

I bet a lot of companies have those kinds of devices in their QC labs.

hunter

(38,311 posts)
28. I just ask my wife or daughter-in-law.
Mon Nov 9, 2020, 04:43 PM
Nov 2020

I suspect they are tetrachromats. According to them I can never get the colors right.

My wife can see a paint color she likes and select it in a paint shop, from memory, months or years later.

She's also a painter, watercolors and acrylics.

Even for those of us who are not tetrachromats, RGB does not describe the full range of human color vision.

My daughter-in-law is a computer guru who knows all the theory about why computers can never get the colors right. Part of her job is making sure colors on web pages are not ambiguous to most viewers, not like The Dress: https://en.wikipedia.org/wiki/The_dress

I learned some of this stuff when I still wanted to be a television engineer in the 'seventies. I knew very well NTSC television, which was fondly described as "Never The Same Color."

on edit: http://blogs.getty.edu/iris/a-day-in-the-life-of-a-digitization-expert/

My daughter-in-law does similar work. Get yourself a color card...


Response to Orrex (Original post)

Orrex

(63,203 posts)
31. Holy moly that sounds awesome--I'll give it a try!
Sat Apr 10, 2021, 05:38 PM
Apr 2021

Thanks for resurrecting my question, and welcome to DU!

Response to Orrex (Original post)

Latest Discussions»The DU Lounge»Is there a good way to id...