Urxvt - powerline wrong color - zsh

after quite a hard time I actually get powerline work in urxvt.
There is only one problem left:
http://i57.tinypic.com/nnk4g9.png
Does sombody know how I switch the bg-color of the command-number?
It's impossible for me to set the color correctly...
Thank you in advance!

I solved it:
There is a option to set colors for each element in powerline oh-my-zsh-theme:
POWERLEVEL_HISTORY_BACKGROUND = "black"

Related

wxpython button background color to default

I am looking to change the background color of a button in my GUI application to default.After searching online, i saw that
button1.SetBackgroundColour(wx.NullColor) does not seem to work. I am using python 2.7.
Is there any other way I could set it to default color with out using system colors
A little late, but maybe someone else has the same problem.
Did you try
button1.SetBackgroundColour(wx.NullColour)
So, write "Colour" instead of "Color", the non-American writing. This worked for me.
If wx.NullColour doesn't work, a solution is to decode the RGB code for the colour you seek and apply it to your background.
E.g. the background color on my wx GUI is the light grey from Windows, its RGB code is R=240, G=240, B=240 (you can measure this using Paint for instance).
Then this should work:
button1.SetBackgroundColour(wx.Colour(240, 240, 240))
Of course if you want your GUI to be portable on other systems this isn't the best option since this light grey is only the default colour in Windows.
With Python 2.7.17 and wxPython 3.0.2.0 the following seems to work:
button1.SetBackgroundColour('')
I think that the solutions do not work because wxPython works with a style system. I was able to change foreground & background colours with the SetStyle method.
I was styling a wx.TextCtrl where I needed to highlight the text I search for.
First, I stored the existing colours to variables.
bc = self.te.GetBackgroundColour()
fc = self.te.GetForegroundColour()
self.bcol = wx.Colour(bc[0], bc[1], bc[2], bc[3])
self.fcol = wx.Colour(fc[0], fc[1], fc[2], fc[3])
Change the colours with SetStyle
self.te.SetStyle(x, y, wx.TextAttr(wx.BLACK, wx.LIGHT_GREY))
And reset it back to the original colours:
self.te.SetStyle(0, -1, wx.TextAttr(self.fcol, self.bcol))

setBarTintColor is incorrect

here is my code
I set the UinavigationBar Color with R:54 G:146 B:204,but went I run it,the color is incorrect
Can anybody know why?Thank u so much!
This problem is not specific to setBarTintColor, it is the way iOS applies tint color to elements (slightly modifying it).
If you increase contrast in iOS accessibility settings - you will see another color.
The translucency that UINavigationBars got in iOS 7 messes with the rendering of it's tint color. If you want the color you set exactly you have to turn off the translucency by setting it on your root navigation controller (the property isn't available to the appearance proxy) like this: self.navigationController.navigationBar.translucent = NO. See if that fixes your color issue.

Oh My ZSH theme not matching colors

I'm trying to make this zsh theme work: https://gist.github.com/3712874
I've made some small changes to it but there is still one problem. It seems that the right triangle glyph doesn't get the same color as the text background. See this image:
Any ideas why this might happen, and how to fix it?
I made it look pretty good. I had to go change the opacity of my colors. Instead of 100% I had to fiddle a bit and set them around 76-81% depending on what color it was.
I believe I switched to iTerm2 to fix this issue in the end.
Solution
On Linux using Terminal I had to change the Profile Preferences->Colors. For example, I wanted to use the theme dpoggi. I downloaded the theme image, then used the dropper tool to match the "red" "green", "cyan", and "magenta" that are used in the dpoggi source code.
dpoggi theme
Terminal Profile Preferences->Colors
I found that playing with the "Cursor guide" transparency in Preferences > Profiles worked for me. It can also be disabled.

How can I find the appropriate hex code for this color?

I'll break down my issue for you:
Color #7fe5b2 shows up exactly the way I want it to in Photoshop. Exported .png files load wonderfully onto my site. It's perfect.
However, when plugging this hex code into css it becomes dithered and faint--it's green still, it's just not the same colour I was working with.
I've searched high and low for a possible answer, and I actually came up with a bit of a solution but it's still off. By taking screen shots the colour -- I get "3ce6a2", which is actually a lot closer, but it's still a little off -- I'm thinking there has to be a solution to this, and I would really appreciate your help. Hopefully it's a stupid question, with an easy answer, and if it is I really did spend ages looking for an answer and couldn't find one.
I guess it is Photoshop's color management. Try disabling color management in Photoshop, set your Working space RGB to Monitor RGB, and set the Color management RGB to off. Then repick your color in Photoshop (it will slightly change). Here is a more detailed explanation:
http://bjango.com/articles/photoshop/
Information regarding this color #7fe5b2 is following
RGB value is (127,229,178)
CMYK value is (0.45, 0.00, 0.22, 0.10)
I hope this will help

Changing the color of the highlighted line in debugging mode

Thing is, after applying a new color theme for my Flash Builder enviroment, the only thing I couldnt find was an option to change the color when you enter in debug mode. When you have a brakpoint there, the color of that line change to light green, and I got dark background and white characters.. so, I dont see anything, I have to manually highlight the line.. really annoying.
I spend some minuts trying to change that color, but no luck so far, do anyone know where can I change that color?
Thanks!
Thats is simple goto windows->preferences->Genral->Editors->TextEditors->Annotations where you can find the Debug Current Instruction Pointer. there you can find the color value for that.
change and Enjoy.

Resources