Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I create a color?

Participant ,
Feb 27, 2018 Feb 27, 2018

I want to create a color that has the following properties:

red: 1

green: .478431

blue: 1

alpha: 1

How do I do that in the Photoshop CC 2018?

Screen Shot 2018-02-27 at 6.15.03 PM.png

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

correct answers 1 Correct answer

LEGEND , Feb 28, 2018 Feb 28, 2018

This all seems unnecessarily complicated. The common way we see RGB colour values from 0 to 255 is wrong by every colour science. Colour values are actually in the range 0 to about 1.  It so happens that in an 8 bit image that pixel values are in the range 0 to 255 And it’s become a common but wrong way to talk about colour values.

It’s rather bizarre that in the same breath we talk about CMYK values as being in the range 0 to 100, since they are also actually in the range 0.0 to 1.0, and stored

...
Translate
Adobe
Community Expert ,
Feb 27, 2018 Feb 27, 2018

Where did you get those values from? They don't add up to a color. Red, Green and Blue colors can only be from 0-255. Alpha is not a color.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 27, 2018 Feb 27, 2018

green: .478431???

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018

Not possible. The Color Picker, no matter what color model, deals in whole numbers like 1, not fractions such as .478431.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018

If you are dealing with a range from zero to one, you could normalize that to 0 - 255, and Green would give you a value of 122:

    

The Alpha value could be the opacity of a layer, or a layer mask, or a saved selection, or any number of things.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 27, 2018 Feb 27, 2018

Hi

One tool to create your color : CSS Colors

Pierre

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018

The only color system I am aware of that deals in decimals with a range of 0 to 1 is Xyz

Using http://colormine.org/convert/xyz-to-lab

I came up with a conversion to Lab

to lab.png

Those values in the Color Picker will do the RGB conversion.

Assuming Adobe RGB: R16 G31 B10. It is a type of black

According to the Lab readout it is black with a very slight green cast.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018

What are you planning to use the color for? Is it a screen value, or print? And where did you get those values?

If you can answer these, it would help us to give you a more effective answer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Feb 27, 2018 Feb 27, 2018

The float colors values (.478431) are achievable only in 32bit color Bit depth, you need to change the current document to use 32bit colour channel, you can do so by going to Menu > Image > Mode > 32 bit channel than open color picker to enter the RGB values, and alpha is extra channel added in a RGB color document, if you working with transparency(I.E. Masking ).

Screenshots for reference -

Screen Shot 2018-02-28 at 12.07.36 PM.png

Vishu Aggarwal
Adobe Certified Instructor, Professional and Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2018 Feb 28, 2018

This all seems unnecessarily complicated. The common way we see RGB colour values from 0 to 255 is wrong by every colour science. Colour values are actually in the range 0 to about 1.  It so happens that in an 8 bit image that pixel values are in the range 0 to 255 And it’s become a common but wrong way to talk about colour values.

It’s rather bizarre that in the same breath we talk about CMYK values as being in the range 0 to 100, since they are also actually in the range 0.0 to 1.0, and stored in an 8 not image as 0 to 255. 

Anyway if you have correct colour values in the range 0 to 1, but have to use a colour picker in the range 0 to 255, just multiply your colour values by 255.0. Job done, no need to convert to 32 bit, imagine they must be XYZ (no!) or do anything else.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 01, 2018 Mar 01, 2018

Ok. That makes sense. Thank you. As you see in the image below I have converted 0.478431 to 122 in order to conform to the range of 0 to 255.

What about the alpha value of 1? Doesn't that mean I don't need to do anything else in the color picker? Isn't the alpha automatically a value of 1?

@Screen Shot 2018-03-01 at 2.45.55 AM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 01, 2018 Mar 01, 2018

as Semaphoric said: "The Alpha value could be the opacity of a layer, or a layer mask, or a saved selection, or any number of things."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 01, 2018 Mar 01, 2018
LATEST

Alpha in photoshop isn’t a colour property. It’s (always) an amount of transparency but in Photoshop you do this with transparency effects. The good news is that alpha = 1.0 means fully opaque, just normal. So you ignore it.

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