Replace Color Command Saturation Algorithm

For the Replace Color Command (not the Replace Color Tool), the meaning of the Saturation slider is clear only when the slider value is negative (reducing saturation). In that case the slider reading is the percent by which the (H-L) gap is to be reduced, where H and L are the highest and lowest RGB channel values. A reading of -100 means the gap is to be completely closed. Whatever the percentage closure, it is effected by decreasing H and increasing L in equal increments proportional to the slider setting.
When the saturation slider is set to a positive number (increasing saturation), however, the meaning is not easily unearthed. The incremental changes in H and L, although still equal and opposite in algebraic sign, are now a non-linear function of the slider and the initial H and L values, but I have not been able to nail it.
BTW, The middle RGB channel plays no role in either case. With H and L set, it is adjusted to keep hue constant.
Any help out there? Gernot? Anybody?

Bump---with apologies. First time ever (honest). Apart from staving off the post's oblivion, I want to verify just where in the ladder a bump jumps.

Similar Messages

  • REPLACE COLOR only allows graytones for replacement color

    Hello,
    I am trying to use the REPLACE COLOR command to change a white sky to a blue sky. I am running Photoshop CS on Windows XP system. Photoshop provides two descriptions on how to use the REPLACE COLOR command and I have tried both. Howwever, for either one, when I attempt to set the color that will be used to replace the original color, the color picker always "previews" and uses a graytone rendition, not the tone I actually attempt to set. When I wag the mouse over the entire color picker swatch, the preview alway renders a graytone. If I instead type in a known 6-hex digit color identifier I still get a graytone rendition, not the actual
    color.
    I am trying to change the color for only a portion of the image, so I'm using the rectangular marquee to selection the portion I want to change.
    For completeness, here is a list of steps I'm performing-
    1)In the Layers palette, select the layer containing the color you want to replace.
    2)Use the rectangular marquee to select only a specific area in the image you wish to change.
    3)Choose Image > Adjustments > Replace Color.
    4)In the Replace Color dialog box, make sure Selection is selected under the preview window.
    4)In the image, click the color you want to change.
    5)Double-click the Result swatch and use the Color Picker to select the replacement color and click OK.
    Any clues what I'm doing wrong or what I may hav set wrong?
    Thanks,
    Ron Glos

    Replace color will not work for white or black, as there is no color. There was a post about a month ago with similar topic, with some solutions. Sorry can't remember how to get there, try search with this in mind.
    edit
    try this link
    http://www.adobeforums.com/webx/.59b55cf6/2

  • Replace color and hue/saturation?

    Is there any real difference with using hue/saturation and replace color to change the color of an item OR is it just two ways to do the same thing?

    If you did a hue/saturation change then both the blue and yellow would change according to the sliders that you use.
    That would apply if you edit the Hue/Saturation’s Master (alt-2), but if the Colors are sufficiently different one could influence only the Reds (alt-3), Yellows {alt-4) etc.
    And that’s naturally best done with an Adjustment Layer.

  • Photoshop CS6 Extended Load/Replace Texture Command Issues

    In the 3d Materials Panel in Adobe Photoshop Extended CS6, the REPLACE TEXTURE and LOAD TEXTURE commands for the 3d materials seem to create a single  "smart" texture that all other textures created via the "replace/load texture" commands link to.
    For instance, to texture a sphere using a Photoshop file, I first created a file called "horizontal stripes for 3d peel.psd" and saved it on my desktop.
    I went to the Materials Panel>Diffuse>(Clicked icon to right of "Diffuse") and chose "Load Texture>"horizontal stripes for 3d peel.psd," to apply it to my sphere.  I then edited this diffuse file by right-clicking the icon to the right of "Diffuse," choosing "Edit" and adding a color layer at the top of the layer stack, then saving (not saving as) and closing the Diffuse .PSB smart object  file.
    I then loaded a texture to the Opacity material of my sphere using the same Photoshop file on my desktop called "horizontal stripes for 3d peel.psd",
    going to Materials Panel>Opacity>(Clicking the  icon to the right of "Opacity") and choosing "Load Texture>"horizontal stripes for 3d peel.psd,"  When I opened this file to edit it by right-clicking the icon to right of "Opacity" and choosing "Edit," I found I'd loaded not the original file on my desktop that I had chosen, but my edited "Diffuse" file. Furthermore, these Diffuse and Opacity files appear not to be independently editable--they behave like linked Smart Objects, and when one is edited, the other is updated with the changes.
    Is this a bug? I can't find any mention of this behavior in the Photoshop User Manual. I'm using Windows 7, and I get the same behavior on 2 different computers with Photoshop.
    http://helpx.adobe.com/photoshop/using/3d-panel-settings-photoshop-extended.html
    I had hoped to use the Load/Replace texture command as a quick way to load up independently editable versions of the same file to the different 3d material attributes (opacity, shine, etc.), but that doesn't seem possible.   Or is there a better way to do this?
    Thanks!
    Jeff Combs

    Postscript:
    I just started working with Extruded 3d shapes, and 3d text, and, as it turns out, this is actually a dandy feature, since these 3d objects each contain multiple elements to apply textures to (ex. Front Inflation Material, Front Bevel Material, Extrusion Material, etc.) that would be pain to edit individually, rather than via a single Smart Layer, especially if you plan to use the same materials for each.
    So, anyway, onwards to more adventures as I climb the Photoshop 3d learning curve. I've been a wee-bit frustrated that this learning curve seems to be more difficult because the Adobe Photoshop_CS6 reference PDF file seems to reference mostly CS5 and, more often than not, references CS5 interfaces. For instance, in the CS6 manual—the sections on 3d concepts and Tools, 3d Panel Settings, 3D rendering and saving—to name a few—all explicitly refer to Photoshop CS5 Extended! So, if anyone knows of a detailed source of CS6 information, I’d be grateful.

  • "Replace Color" in no-color areas?

    Hi all.
    Why is it that I can never do "Replace Color" in colorless areas (black/white/gray)? Am I missing something, or does this tool *completely* rely on saturated colors in order to work?

    You can achieve this with the Hue/Saturation adjustment layer by checking the Colorize box, adjusting Hue and Saturation as desired, and setting the Lightness slider to a positive value for black areas.
    You could do two layers, one for non-black neutrals where you don't adjust lightness, and then a second layer where you only select the blacks and use similar settings but with some lightness added.

  • Replacing Colors with Sample Color

    I know I must be missing something fairly obvious, but I can not seem to find out how to do this simple thing:
    I have scanned our baseball teams calendar schedule which has the days colored-coded; red for home games and white for away games. Also, they certain special home dates colored in a light blue. I want to replace all the light blue days with the same red that is already in use on the rest of the schedule.
    I can find no way to use the red as the sample color, or transpose the RGB values shown into corresponding Hue, Saturation and Lightness values used in the Replace Color tool.
    I do this every year and in the past I kept a old copy of Paintshop for this single task, but have finally deleted it and want to figure out how to do this simple task using my Photoshop 7.0.

    Each calendar day (Blue or Red) also has the Date & time & opposing team in whit letters outlined by black. I do not want to fill the entire square with the color, I only want to replace the blue portions within the calendar square with red.

  • Help replacing colors CS3

    Hello, I got PS CS3 and I'm having a hard time trying to do 2 things:
    1) I'd like to use the "replace color" function in order to remove a background color and make it transparent. How do I do that? I can make it green, red, whatever color I like but not transparent!?
    2) There's another part, which is black, that I want to make red. Now when I replace the colors it becomes gray. There a way to fix this?
    Thanks

    Hi James,
    In my humble opinion you can get far more control with Photoshop's native blending options than with either of those 2 filters.
    Method 1
    1. Make a regular layer from the Background
    2. Layer style > Blending Options > under Blend If and This Layer: drag the white slider a tiny bit to the left.
    3. You can get even more control by Alt-Dragging the left part of this tiny triangle to the left (they are in fact two sliders) and using the Alt key splits it into two.
    I usually first put a colored layer underneath with a contrasting color so as to better be able to see and fine tune the settings.
    Method 2
    Is a bit more advanced but this way you can take advantage of the Refine Edge command.
    1. Make a regular layer from the Background
    2. Add a layer under the existing layer and fill it with a contrasting color
    3. Layer style > Blending Options > under Blend If and This Layer: drag the white slider a tiny bit to the left.
    4. You can get even more control by Alt-Dragging the left part of this tiny triangle to the left.
    5. Notice that although you have transparency the layer thumbnail is still white. We are going to fix this:
    6. Put a new layer UNDER the current layer.
    7. Activate the layer above and Merge down (Ctrl + E)
    8. Ctrl-click the layer thumbnail to load the contents as a selection.
    9. Use Refine Edge to fine tune your selection
    10. Selection > Inverse and Delete or better yet add a mask
    Regards,
    Ronald

  • Choosing replacement color

    In PSE4, I find the Color Replace tool works remarkably well (for changing the colour of someones clothes for example).
    The only problem is choosing the precise replacement color I want is not easy just by pushing the 3 sliders around. I would like to be able to specify a particular RGB colour, or use the eyedropper to select a color I like.
    Is there any way of doing this?
    I have tried doing calculations based on the difference in hues, saturation and lightness of the original and desired replacement colors but this does not seem to work very well.

    If you mean the Replace Color dialog box, yes you do not have to use the sliders. After you've selected the color you want to replace, click the replacement color square. This will open the color picker and you can choose a color there by entering the numbers, or you can click in any open image and the color you click will become the replacement.

  • Replace color with transparency?

    Hello,
    Using the Replace Color Tool, I can't find transparancy as the new color. Am I doing something wrong? If not, would there be another way to replace a color with transparancy in Fireworks? I have Fireworks 8 (and I love it).
    Thanks,
    Frank

    Great question. I have to admit, I've never used the Replace Color Tool—I didn't even know it was there.
    Initially, I thought you might have been referring to the Find panel, which is useful for replacing colors with vector objects. It, too, lacks support for transparency. There is a trick you can do to force the transparent (or "None") swatch to appear: In the hex code input of the Color Picker, add a "0" to the end of the 6-digit hex code. The problem is, this won't actually work to replace the color with transparency; once you try to apply it, the color reverts to its previous value.
    If you're working with bitmaps, your best bet might be to use a bitmap selection tool or command, and then once the color is selected, just use the Delete key to remove it. If working with vector objects, remember that you can always select multiple objects and then use the Properties inspector to adjust the fill or stroke color of all the selected objects at once. Also, using Symbols can allow you to edit just a single object and have it affect multiple instances.

  • Replacing color

    I've read the other posts on this subject but it is not helping me. I have a jpg image that is black and white with some red lines running through it. I would like to remove the red lines. I go to Enhance> Adjust color > Replace color. Then I click on the red line as the color to be replaced, then below I click on the background color of the page, but I end up with a line that is fainter but has a blue hue to it. I want the red line to go away completely, or more accurately be replaced by the white background color. Thanks for any help. Elements 10.

    Just a quick addendum: The red value need to be 255, but the green and blue can be anything else as long as they are roughly similar:  ie. 255,128,128 will work with the above method.
    In fact, an even shorter way to accomplish your task is to just use the curves adjustment layer to bring the individual red green and blue up to 255 (255,255,255 is pure white). The black and white elements will remain unchanged, but the colours will go to white (ie. your red lines).
    EDIT:
    OR... you could even use 2 Hue/Saturation adjustment layers. In the first, use the saturation slider to bring up the reds to 255, then use the second Hue/Saturation layer to increase the lightness of the reds until it goes white
    Mike

  • Replacing colors not working?

    Hi,
    I have a picture of an old retro tv that I want to change the edge color of the tv from red to sky blue.
    I follow the steps from the Adobe Photoshop CS5 "Clasroom in a book" using the color replacement tool, size 15 pixels brush, hardness 40%, and spacing 25%, hue, continuous sampling, fine edges, tolerances 32% and auto-alias.
    I brgan paintng and the color comes out in a very dark blue? Did I miss something?
    Is there a way to change the original red color to sky blue?

    When you use the Hue/Saturation adjustment layer, activate the hand symbol with the arrows going left and right and click on the part of the image you want to change the color of. This will select the color channel that needs changing.  In the case of your TV screenshot, Cyans will be selected. Moving the hue slider to the right will make the cyans in your image less greenish.
    If you know the exact RGB values of the color blue you want, you should be able to input them in the Replace Color dialogue by clicking on the Result swatch and entering the values. However, the success of using that dialogue depends on how accurately you are able to select the color you want to change. The quality of the screenshot I was able to make from your post was quite poor so it was difficult to get an accurate selection of the area you want to change the color of by using the fuzziness slider.
    Another possibility would be to make a selection of the area you want to change (e.g. using the pen tool) and fill the selection with the color you want. If you have a swatch of the blue you want, you only have to make it your foreground color and fill the selection via Edit - Fill - Foreground color

  • Replace Color question

    I have an image taken from off the Net that I need to edit and change some colors.
    In the Replace Color dialog I can select the "source color"  but I can't specify the "destination color" except by dragging the Hue slider.
    I'd like to be able to specify the "destination color" I want in more detail, like selecting it from a pallette, inputting RGB/HSB values etc.
    How could I do that?

    Choose Image > Image Adjustments > Hue/Saturation or press Ctrl + U keys. Drag the Hue slider to -150, Saturation slider to +2 and Lightness to -4.
    If you want to limit the color correction only to the blue gradient, first select the the pointing hand (On Image Adjustment tool) at the bottom of the Hue/Saturation window and click with it once on the blue gradient.
    If you want to sample the values from the green gradient to help you choose the values in the Hue/Saturation sliders, first open the Info panel and change its readout to HSB color, then after opening the Hue/Saturation window and clicking with the On Image Adjustment tool to limit the color range for the correction, disable the On Image Adjustment tool by clicking on its button again. Then move the mouse cursor over the the left edge of the green gradient on the image, and check the values in the Info panel. Then change the values in the Hue/Saturation window and also keep the mouse cursor on the left edge of the blue gradient on the image until the hue value of the blue gradient in the Info panel matches the hue value of the green gradient. Then repeat the same for the Lightness and Saturation.
    I don't know if this is possible on Macs but on Windows any input box in the programs has virtual slider capability by clicking in the input box and using the up and down arrow keys on the keyboard. You can take advantage of this when using the Hue/Saturation window and sampling colors from the image by keeping your mouse cursor stationary on the image to sample values as reflected in the Info panel while using the up and down arrows of the keyboard to change the values of the Hue/Saturation sliders.
    For more details about using the Hue/Saturation controls read the manual: http://helpx.adobe.com/content/help/en/photoshop/using/adjusting-image-color-tone.html#adj ust_hue_and_saturation

  • Hey, How do I populate my replace colors color library in illustrator? I tried to replace color on a traced/ vectorized image and when I selected and went to the color library CC said I need to use a valid username. I was already logged into my adobe acco

    Hey, How do I populate my replace colors color library in illustrator? I tried to replace color on a traced/ vectorized image and when I selected and went to the color library CC said I need to use a valid username. I was already logged into my adobe account.

    Can you please show a screenshot of what exactly you want to replace where?

  • Photoshop uses JavaScript to load open documents into the Match Color command

    Hello,
    I am a production artist and I make use of the Match Color command quite a lot in my work. I often have 6-10 Photoshop documents open and one of them is designated as my master document. With this document active, I launch the Match Color command. Inside the Match Color dialogue, I load one of the other open documents into the Source drop-down menu under Image Statistics. I click Ok, and save the master document under a new name. I have to repeat this for all other open documents. Needless to say, it gets tedious.
    I started to write a script to automate this, but I cannot find the syntax for the Match Color. I have the Adobe Photoshop Cs6 Javascript Scripting Reference but have been unable to locate it in this PDF. I tried looking online, but no luck. Does anyone know what syntax to use as well as associated properties / methods?
    Thanks for any assistance.

    What we do is we make seamless images from product photos supplied by retailers in the flooring industry (carpet, tiles, etc). The seamless image gets loaded into a virtual room scene powered by Adobe Scene7. Scene7 takes the seamless image and duplicates it horizontally and vertically, in 3D perspective, so the final rendering looks like one continuous product image. Check this link to see an example:  http://sitesetup.creatingyourspace.com/wlhhbw4/designcenter/vrddesign.aspx?room=2854 The thumbnails on the left side are seamless images. click on one and it will load into the virtual room.
    When I make seamless I may encounter 20-50 images of the same product, but different colors. Rather than spend 10-15 minutes per seamless, I make one and then let Match Color do the rest. Match Color is a great tool for this application. If destructive editing were an issue, the layer could simply made into a smart object, but we're not concerned about that.
    I did try the javaScript listener. Below is the code it generated. I'm new to JS so I don't understand all of the syntax.
    // =======================================================
    var idmatchColor = stringIDToTypeID( "matchColor" );
        var desc7 = new ActionDescriptor();
        var idLght = charIDToTypeID( "Lght" );
        desc7.putInteger( idLght, 100 );
        var idClrR = charIDToTypeID( "ClrR" );
        desc7.putInteger( idClrR, 100 );
        var idFade = charIDToTypeID( "Fade" );
        desc7.putInteger( idFade, 0 );
        var idfsel = charIDToTypeID( "fsel" );
        desc7.putBoolean( idfsel, true );
        var idSrce = charIDToTypeID( "Srce" );
            var ref5 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idBckg = charIDToTypeID( "Bckg" );
            ref5.putProperty( idLyr, idBckg );
            var idDcmn = charIDToTypeID( "Dcmn" );
            ref5.putName( idDcmn, "4167_13828.jpg" );
        desc7.putReference( idSrce, ref5 );
    executeAction( idmatchColor, desc7, DialogModes.NO );

  • Can't replace color in PSE 9

    I am trying to replace one color with another in a photo in PSE 9. Following the instructions in the on-line help does not work. Here is what I do.
    1) Select the eye dropper and click in the image to set the foreground color to the replacement color.
    2) Right click on the brush tool and choose the color replacement tool. Set the options to Mode=Color, Limits=Discontiguous, Tolerance=25%, Anti-alias=On.
    3) Left click on the color in the photo that I want to replace.
    4) Hold down the left mouse button and drag over the area containing the color I want to replace. Nothing happens when I do this.
    In the photos in the Replace Colors in an Image help topic it appears that at some point in the process the cursor should change to include an eye dropper. I assume this is the cursor I should see before I left click to select the color I wish to replace, however, at no time does the cursor ever contain an eye dropper.
    Can someone tell me what I am doing wrong? Thanks.

    How are you trying to save? Works for me.
    Edit à Contact Book
    Add New
    Enter details e.g. Name and email address
    Click OK and close
    Then click Edit à Contact Book and your new name should be in the list.
     

Maybe you are looking for

  • How do I add a new Image to the Web App Module Portfolio after I went Live?

    Im pretty new to web building and I push a site live for my client and they want me to constantly update the site with new images but I cant seem to add or change any of the pics in portfolio or in carousel. Can someone help me please...

  • Video Encoding Issues

    Hi, I am using Flash 8 on a Windows XP system. I have been trying to encode some *.avi and *.wmv into *.flv. Although I can see the video when it is encoding (via the preview screen), but when it is finished encoding, and I add it into my Flash file,

  • Microsoft Outlook 2007 send/receive error with windows 8.1

    I do have an IDEAPAD LENOVO with windows 8.1 Today, i made some updates to my laptop/tablet, and i have problems with the send/receive error on my Microsoft Outlook 2007, before that it was working fine. Someone in the community know how I can fix it

  • Contact person of partner function sales orders

    Hi, i need to save in all the sales orders the contact person. But i need to know who is the contact for the AG partner and the contact for RE ,.... How can i do? How i know the contact person is from who partner function. Thanks

  • Selecting with a set of codes

    Dear Oracle Gurus I have a table which has details about stage details of appn no the fields are as follows appno, Stge_code, proc_code an application will have Stage code as 1, 2, 3 and process code as 1,2,3 i,e Stage 1 will have 1, 2, 3 process sta