Sunday, September 6th, 2015

How black is Illustrator Black?

I’ve been working with glossy things in Illustrator recently and I’ve encountered an interesting situation in relation to black.

To create the glosses for the baubles I am making, I need to use a black to white gradient in screen blend mode. It turns out that there are different ‘grades’ of black and, although they look pretty much the same on the screen when you are looking at the black objects, they actually work differently when using with blend modes.

Here is the regular Illustrator black (from the Swatches panel) – I am working in RGB mode, and this is how a filled black circle looks when added over the underlying shape and blended using Screen blend mode. You can see clearly where the circle begins and ends. You can also see from the Color palette that the black isn’t truly black:

Here is the same shape, but this time I’ve set the K value in the CMYK specification for the color as 100% (RGB are all 0) and the result is very different and you can’t see the edges of the circle:

Even though I am working in RGB and even though I only plan to use the images on the web, nevertheless creating a more blacker black using the CMYK color specification makes for a different and better blend (at least in this situation). If you need to, it might be a good idea to add a black black to your swatches so it will always be available.

 

 

 

Friday, November 1st, 2013

Convert Hex to VBA colors

Unbelievable! Hex colors don’t work in VBA without conversion!

It is totally unbelievable to me but today I wanted to put an ActiveX option button on an Excel worksheet. I could set the BackStyle to transparent so I can see the color in the worksheet through it but every time I clicked the option button it showed up white – and UGLY.

I managed to get the hex color of the worksheet – I got the RGB from Excel then put it in PaintShop Pro to get the hex value. So R242, G157, B 0 became #F29D00 hex.

At this point I was feeling rightly proud of my color conversion skills until I tried to set the  Backcolor property to this value. It WAS BLUE!? not orange… WTF?

Seems like VBA color isn’t the same as Hex colors … it is nearly the same but not quite. You need to switch the R and B values with each other. So my orange #F29D00 becomes #009DF2 for VBA – of course you need to then wrap it in the other little bits so it looks like this: &H009DF2& and all is hunky dory. Paste that into the Properties box and VBA makes it into a nice long integer all by itself – that bit at least is simple.

So now you know how to convert hex colors to VBA colors.

I just have to ask the burning question – WHY? Why isn’t good ol’ RGB good enough for Microsoft – why is it BGR?  And just which programming genius dreamed that one up?

 

Helen Bradley

Thursday, October 24th, 2013

Help! My Photoshop Color Picker looks weird

How to get the color picker to look the way you want it to look

or How to fix the Color Picker when it looks all funky

Sometimes when you open the color picker in Photoshop it looks one way and other times it looks a different way. It might even seem like there is  no rhyme or reason to how it looks and that it changes without (what it may seem like) no input from you.

Of course, nothing could be further from the truth but knowing that won’t solve the problem of why it changes and how to change it back!

To change it, don’t go looking under Preferences for all the Color Picker choices. While some preferences can be found in the Preference area the secret changes are made inside the Color Picker itself.

To see them at work, click to open the Color Picker. What you see here depends on what is clicked in the right of the dialog (when you realize this everything becomes blindingly obvious).

Click H for Hue to see this:

And S for Saturation to see this:

And B for Brightness to see this:

Each of R, G and B make the picker look different:


As does choosing L or a or b:

And each looks different if you have the Only Web Colors dialog checked:

Now you know what affects how the Color Picker looks you can choose the one that makes the most sense to you.

Helen Bradley

Thursday, October 10th, 2013

Lightroom Tip – Adjusting White Balance

Adjusting your White Balance in Lightroom

Lightroom has a set of tools that you can use to adjust white balance in your images. To see these at work open an image in the Develop module. At the top of your Basic panel are the white balance adjustment tools.

White Balance Options

The dropdown list will show you some options for adjusting white balance – what is shown here will vary depending on how your images are captured. If you capture in raw then the white balance dropdown list will contain the same options as you have on your camera for setting white balance. If you’re capturing jpg images then there are fewer options – As Shot, Auto and Custom.

On the left are the options for a raw image and on the right those for a jpeg image.

The Temperature and Tint sliders also have different units of measure depending on whether you’re working with jpgs or raw images. For jpg images both the sliders range from +100 to -100. If you’re working on a raw image then the Temperature slider shows degrees Kelvin from 2000 – 50,000 and the Tint slider ranges between + 150 and – 150.

Kelvin is a measurement of the color of light – daylight is around 5,500 degrees Kelvin. Lights we consider to be warm or pink/orange in color including tungsten globes are around 3,000 degrees Kelvin and cool lights which are blue in color such as overcast daylight are around 7,000 degrees Kelvin and higher.

Adjust White Balance

To adjust the white balance in the selected image you can select an option from the White Balance dropdown list to use to fix the image or you can use it as a starting point and then fine tune the result.

You can also manually adjust the Temp slider to add warmth or remove it from the image. Drag the sider to the left to add a blue tint to the image (to cool it down), or to the right to add a yellow tint to it to warm the image.

Use the Tint slider to balance out any excess magenta or green in the image. Drag towards the right to add magenta to the image cancelling out any green tint and drag to the left to add a green tint cancelling out any unwanted magenta.

White Balance Selector

You can also use the White Balance Selector to adjust white balance. You can select the tool by clicking on it or press W.

From the White Balance toolbar under the image you can select options that make the White Balance tool easier to use. I suggest you deselect Auto Dismiss as you can then click on the image in various places to attempt to fix it. If you have Auto Dismiss enabled you’ll only be able to click once before the selector is dismissed so, if that fix isn’t perfect then you’ll need to select the tool again to attempt another fix. This is a cumbersome way to work so I prefer to disable Auto Dismiss and put the tool away only when I am done with it.

If you click the Show Loupe checkbox then you’ll see a 5 by 5 pixel grid beside the mouse cursor. The center point in the grid is the pixel that you are currently targeting and which will be used to adjust the image if you click. This grid makes it easier for you to pick the correct point in the image to adjust to. The scale itself can be increased or decreased using the Scale option on the toolbar.

At the bottom of the loupe itself are the RGB percentage values of the pixel under the cursor. These values tell you if the pixel is neutral or not. If it is neutral then the percentages of R, G and B will all be equal – if they are not equal then there is color in that pixel.

To balance the image using the White Balance selector, click on a pixel that should be neutral grey – not white or black. When you do so, Lightroom will adjust the image so that the selected pixel is a neutral grey and, as a result, all the color in the image will change. At the same time Lightroom adds an entry to the image History for that adjustment. This means that you can wind back the history to return to an earlier white balance fix, if desired.

You should be aware that adjusting image white balance is to an extent a subjective assessment – so there is no one value that is “correct”. There are, instead, a myriad of different results that can be achieved so look for one that is it pleasing to you. In most cases viewers prefer to see some warmth in photos as they are more pleasing to the eye if they are warmer rather than cool.

I find that a good approach to take is to experiment with the white balance selector to see the effect on the image by selecting different pixels to adjust to. Then choose the most aesthetically pleasing result.

Helen Bradley