How do I change black background to a colour

Post Reply
sisom
Posts: 143
Joined: Sun Jan 14, 2007 10:47 pm

How do I change black background to a colour

Post by sisom »

Hi, I have a gif image of controls for the Highslide slideshow script, which has a black background. I want to change the black to a dark brown colour, how would I do this in PI X3? I want it to be an exact colour, not just any brown.

The image is on the Highslide forum, halfway down, with the navigation controls:
http://www.highslide.com/forum/viewtopi ... rol#p57373

Here's what I tried so far - I downloaded the image off the forum, then opened it in PI X3. I then duplicated it, and then tried to save it and tried to apply a mask to the black background, but for some strange reason, that option was greyed out. I opened another random image and tried to save it as a gif, and the mask option was working again.

I tried using
Photo
Colour
Hue and Saturation

and then
Photo
Colour
Color Cast

but neither of them would make any difference to the black background. I presume this is something that a lot of people want to do, change a given colour in an image to an exact colour, to match a webpage background, so I'm praying there's a way to do it!

The colour I want is #442B00.
BrianCee
Posts: 5487
Joined: Sat Jan 21, 2012 1:04 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 8GB
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: HP
Corel programs: VS X4,X5,X6,X7,X8, X9, X10, 2018 , 2019
Location: London England UK

Re: How do I change black background to a colour

Post by BrianCee »

have you tried using the "Magic Wand" to select the black background - then use the 'Bucket fill tool" to flood the selected area with your desired colour.
wds937
Posts: 189
Joined: Mon Dec 13, 2010 8:58 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Dell 0HN7XN A01
processor: Intel Pentium Dual Core E5800 - 64-bit - 3.20 GHz
ram: 4 GB
Video Card: Intel G41 Express - integrated
sound_card: Realtek High Definition Audio - integrated
Hard_Drive_Capacity: 320 GB
Monitor/Display Make & Model: ASUS VS247
Location: New Orleans, LA, USA

Re: How do I change black background to a colour

Post by wds937 »

If this is a .GIF file, you should be able to edit that color's definition in the color palette. (The only catch is that the same color may be in use elsewhere in the image.)

Click Adjust > Color Table..., and the Color Table dialog will appear. Locate the color you wish to change in the grid, and double-click it. On the resulting Color Color Picker dialog, locate the Hex: field in the lower right corner. Key 442b00 into that field, and click OK. Click OK again to return to your image.
kenneithharris
Posts: 9
Joined: Mon May 27, 2013 12:46 pm
operating_system: Windows 7 Starter
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel
processor: Dual Core
ram: 2GB
Video Card: NVIDIA
sound_card: ASUS sound card
Hard_Drive_Capacity: 350Gb
Monitor/Display Make & Model: LG
Location: Pune India
Contact:

Re: How do I change black background to a colour

Post by kenneithharris »

I am agree with Brian that you must try "Magic Wand" to select proper black background for your GIF file image. Even, last time I have use this for getting this type of background for my creative art. So, this helps you to change background colour.
Post Reply