If not, what color is it?
My client asked me to use '4c + 0' for color. From what I have learned from Google, it seems to be the color #4c4c4c. Is that correct?
The color 4c is just an abreviation for the color 4c4c4c. The +0 doesn't change anything.
Related
My company launched a new branding. I'm creating palettes to rework on numerous websites. One of the colors is named Mid blue (#686E9F) and an associated color is Mid Blue Tint as 70% Mid blue but no RGB/Hex values.
How to find out 70% mid blue (#686e9f)?
Reference:
In fact you can find it by using the opacity.
Your blue "tint" is the same as your #686e9f wich means this rgba representation rgba(104,110,159). And with 0.70 opacity on this you get back your color.
to test you can paste this rgba(104,110,159,0.7) on this website :
http://www.menucool.com/rgba-color-picker
So you could begin to translate the hex-number into RGB values
-> https://www.rgbtohex.net/hextorgb/
Then I presume you could multiply those values with 0.7, if I understand this 70% stuff correctly.
If I understood your question correctly and you were asking for a RGB representation:
rgb(104, 110, 159)
68 -> 104
6e -> 110
9f -> 159
The hex value is just a RGB value in hexadecimal. IF you were looking for something else, please specify a clear question.
I want to get the result from the cell in excel so that if F8 = .01 to .6 then it will show E8&A and if F8 = .7 to .125 then it will show E8&B. If not anything then it will show E8. I have wirtten that statement
(=IF(AND(F8>=0.01,F8<=0.06),E8&"A"),IF(AND(F8>=0.07,F8<=0.125),E8&"B",E8)
but it show #VALUE , what is the problem? Please help me
VALUE does not show after input the statement from your suggestion that
=IF(AND(F8>=0.01,F8<=0.06),E8&"A",IF(AND(F8>=0.07,F8<=0.125),E8&"B",E8))
but a problem newly create that
when I press .05 in F8 it shows E8&A but when I press .06 it shows only E8 and next when I press .07 it shows E8&B
my question is why it shows only E8 when I press .06 in F8
Thank you
It's because of the parentheses () used incorrectly.
=IF(AND(F8>=0.01, F8<=0.06),E8 & "A", IF(AND(F8>=0.07, F8<=0.125), E8 & "B", E8))
will work
Try:
=IF(AND(F8>=0.01,F8<=0.06),E8&"A",IF(AND(F8>=0.07,F8<=0.125),E8&"B",E8))
ie move the ) after "A" to the end.
Here you go. This implementation specifies something to do when values are outside of your ranges.
=IF(F8>=0.01,IF(F8>0.06,IF(F8>0.125,"Greater than 0.125",E8&"B"),E8&"A"),"less than 0.01")
You'll have to edit the formula based on what you want to happen to values between 0.06 and 0.07 (this is not specified in your question).
What does E8&"A" means? Try + instead of &...
=IF(AND(F8>=0.01,F8<=0.06),E8+"A"),IF(AND(F8>=0.07,F8<=0.125),E8+"B",E8)
I have a column "HEX" and three columns "R", "G", and "B".
How can I convert a HEX to RGB, e.g. ff0000 to R=255, G=0, and B=0?
I know that the first 2 characters ff belongs to "R", the next 2 00 belongs to "G", and the final 2 00 belongs to "B". So I will have to use =LEFT(A1, 2) for "R", =RIGHT(LEFT(A1, 4), 2), and =RIGHT(A1, 2) for the last.
But how can I convert ff to 255 and 00 to 0, etc.? I guess I will have to do something to parse from hexadecimal (base 16) to decimal (base 10)?
I would like to do it without VBA.
You can try with the =Hex2Dec(A1) indeed, but you should split its input into 3 parts:
One for R, one for G and one for B, considering that you would always get them in a format like this ff0000.
=HEX2DEC(LEFT(B1,2))&"-"&HEX2DEC(MID(B1,3,2))&"-"&HEX2DEC(RIGHT(B1,2))
This is the result from the formula:
You can convert from hex to decimal using the HEX2DEC() function. For instance:
=HEX2DEC(A1)
Where cell A1 contains the string FF, this will return 255.
More details here.
I have managed to create a excel spreadsheet that converts Hex to RGB in three columns; Red, Green and Blue. Below is the code for it:
Red: =HEX2DEC(LEFT([Cell],2))
Green: =HEX2DEC(MID([Cell],3,2))
Blue: =HEX2DEC(RIGHT([Cell],2))
So far, I have not found any restrictions to this code.
I also made code for RGB to hex:
=DEC2HEX(([Red]*65536)+([Green]*256)+[Blue],6)
I hope this answers your question.
Some pages make that (w3SCHOOL PICKER), but in excel you can make this
vba rgb to hex and inverse
If you try without vba, you'll only can use 56 colors.
(in case use the colors from a cell)
I'm connecting to QNX Neutrino over SSH with PuTTY 0.62.
I've enabled "Allow terminal to specify ASCI colours", and "Allow terminal to use xterm 256-colour mode".
How do I get my terminal (qansi-m) to add colour to the output text?
You can manually add colours by using the following when using echo:
The graphic rendition codes are as follows:
Number Meaning
0 All attributes off (except charset (10, 11, 12))
1 Bold
2 Half intensity (default to cyan on color screen)
4 Underline (default to red on color screen)
5 Blink
7 Reverse
9 Invisible
10 Exit alternate char set (GR & GL are restored)
11 Enter PC-lower char set (GR & GL are ASCII; C0 & C1 are PC_LO except for ESC)
12 Enter PC-higher char set (GR, C1 & GL, C0 are PC_HI except for ESC)
21 Normal intensity (un-Bold)
22 Normal intensity (un-Half intensity)
24 Disable underline
25 Disable blink
27 Disable reverse
29 Visible
30-37 Set foreground color (30+color_number, see below)
39 Set foreground to saved
40-47 Set background color (40+color_number, see below)
49 Set background to saved
The color codes are as follows:
colour_num Description
0 Black
1 Red
2 Green
3 Brown
4 Blue
5 Violet
6 Cyan
7 White
Syntax:
{CSI}<setting1>;<setting2>m
CSI in octal is \0233, so to print bold text (1) with a red foreground (31), you'd do:
echo "\023331;1m"
Reference
You need to configure the programs you run on the Neutrino (including the shell) to send the necessary ANSI escape sequences. sshd can't intercept and modify the terminal output.
Yes, I AM trying to re-invent the wheel. :-) . I am doing my own image compression, (testing some ideas for transmitting parts of images over tcp). Anyway... I am trying to step through 24 bit rgb color, get a complete linear range, and (step through) that range at x intervals.
I am trying to get the average 99 colors over the complete spectrum. (24bit / 99) = 167488.6363636364 , so at 16K interval I want to pic a color for my 99 color palette.
I am having trouble understanding how RGB really works... It seems the is NO linear range..., or is there...?
I am currently doing the following:
var_interval = (255 * 255 * 255) / 99
For r = 0 To 255
For g = 0 To 255
For b = 0 To 255
If var_counter = var_interval Then
objWriter.Write(r & "," & g & "," & b)
End If
var_counter += 1
Next
Next
Next
I am getting my colors, but this step does not generate "scaling" colors if you will.
Any ideas?
There certainly is a way to iterate through the color spectrum, but whether you go this approach is your own choice :). You can make use of the HSL color space (Hue, saturation, and lightness) instead of RGB (red, green, blue). The hue represents which color (ranging from 0 to 360), the saturation is how much of that color your want (0 to 100), and the lightness is how bright you want it.
So, to answer your question, you can take 360/99 as your sampling rate from the hue, choose a consistent value and intensity that you'd want and then convert that to RGB space to display it. For the conversion see:
http://web2.clarkson.edu/class/image_process/RGB_to_HSI.pdf
and for information on HSL color space see:
http://en.wikipedia.org/wiki/HSL_and_HSV