What do each of PuTTY's text colours represent? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
For example what is white text on a pink background?
Or white text on a red background?
Thanks

From Here
Executable files: Green
Normal file : Normal
Directory: Blue
Symbolic link : Cyan
Pipe: Yellow
Socket: Magenta
Block device driver: Bold yellow foreground, with black background
Character device driver: Bold yellow foreground, with black
background
Orphaned syminks : Blinking Bold white with red background
Missing links ( … and the files they point to) : Blinking Bold
white with red background
Archives or compressed : Red (.tar, .gz, .zip, .rpm)
Image files : Magenta (.jpg, gif, bmp, png, tif)

Related

How to create image in python and save it [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to create an image and store it as a file using python.
I expect the output to be an image with color blocks of black or white, and the image must have 6x6 blocks of random of white or black color blocks.
You can use this code to solve that problem:
#Import all libraries we will use
import random
import numpy as np
import cv2
#let's create a 6 x 6 matrix with all pixels in black color
img = np.zeros((6,6,3),np.uint8)
#let's use "for" cycle to change colorspace of pixel in a random way
for x in range(6):
for y in range(6):
#We use "0" for black color (do nothing) and "1" for white color (change pixel value to [255,255,255])
value = random.randint(0,1)
if value == 1:
img[x,y] = [255,255,255]
#save our image as a "png" image
cv2.imwrite("6_x_6.png",img)

Finding the most colorful in a number of hex-colors [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
in order to generate a dynamic color scheme for a webpage I read the dominant colors from an image. These include some very dark and some very light colors. All of which are not very good in being a base for a color scheme.
I need to select the most colorful/satured color from a set of colors.
I've looked at the HSL-values and thought about using those with the highest S and L values but this can also give me some very "dirty" colors.
Is there a good way the solve this? Somehow this seems like the way IOS7 selects a color from album art.
Thanks for any help!
Your best bet is to use the HSL conversion with custom mapping to avoid any hues you don't want:
CGFloat hue; // in degrees, [0,360)
NSArray undesirableHueRanges = #[NSMakeRange(25, 20), NSMakeRange(180, 20)]; // e.g., you don't want colors with hues between 25º to 45º and 180º to 200º
for (NSRange undesirableRange in undesirableHueRanges) {
if (hue > undesirableRange.location && hue < NSMaxRange(undesirableRange)) {
if (hue > undesirableRange.location + 0.5 * undesirableRange.length) {
hue = NSMaxRange(undesirableRange);
} else {
hue = undesirableRange.location;
}
}
}
Don't forget to use the built-in color picker in most Mac apps (including Xcode) to play with different color modes:

how to make a jpeg image semi transparent using gimp? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Image background transparent GIMP
I've a jpeg image. i'd like to make it more transparent as i'm using it in my android app as a background. It will have textview in front of it and the image's colours can clash with text in the views.
How can i increase transparency using GIMP?
A JPEG image can not support an alpha channel (transparency) and so you would need to use a file format that can. My recommendation would be .PNG

Vim Color Scheme Problems on Ubuntu 11.04 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
When I change my color scheme in command-line Vim on Ubuntu 11.04, stripes on the bottom and right of the terminal (xterm) refuse to change color. While I can select any color scheme that I like, the two bands of color will remain at the default set for my xterm profile. Here's a link to an image to illustrate what I describe; my best guess is that xterm is not playing well with fullscreen mode in Unity. Do you have any suggestions for things I should try in order to fix this?
Vim is applying its colors to individual character cells.
Your expanded xterm window's width and height are probably not divisible by the width and height of a single character cell.
With my own font settings, a cell is 7 px by 15 px.
My display is 1600px wide and 1200 px tall, a fullscreen xterm would cover the entire area but the available cells would only cover an area of 1594 px * 1200 px, leaving a tiny 4 px wide vertical band on the right and — luckily — fit the whole height.
I see one easy way to get rid of your "stripes": set the background color of xterm to the same color you use in your colorscheme or vice-versa.

Photoshop CS5 - making text have effect but with a transparent fill....totally stuck [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have been using Photoshop for about three weeks now, finding it very different to fireworks...
Im trying to make a cool effect on my site, I want to use JQuery to slide a background image behind some text, and the background show through the text. I need to text to be placed in a white box, with the text itself "punched" out, so you can literally see through it (but only the text, the white box will cover everything else). The text also needs an inner shadow effect...just no fill. I am having real problems finding this info, can anyone help?
Many thanks, Dan
Create your white background layer
Create your text layer with the font and size you want
Ctrl+Click the text icon in the Layers panel to select the outline of your text
Select your white background layer and press delete to cut the text shape from your background
Select your text layer and delete it
Apply your drop shadow or glow filters to your background layer
Save as a transparent PNG-24
Your question doesn't sound too clear but i think animating the opacity of either of text or background would help.check this

Resources