color-palette Questions

2

Solved

I have a simple problem. How to plot histogram with ggplot2 with fixed binwidth and filled with rainbow colors (or any other palette)? Lets say I have a data like that: myData <- abs(rnorm(10...
Indoiranian asked 27/10, 2016 at 12:9

1

Solved

I am using python seaborn package to generate a diverging color palette (seaborn.diverging_palette). I can choose my two extremity colors, and define if the center is light-> white or dark->black ...
Agon asked 8/3, 2016 at 13:48

1

I would like to change the default colours to a specific palette for all geom_* type objects by using a function. Below is an example for geom_line() and using the function change_colours() # loa...
Myotonia asked 4/1, 2016 at 22:41

1

I need to create in C# a matrix of 16 X 16 clickable rectangles, then filling each rectangle with a color from a 256 colors palette (GIF). I just need help to create a simple class to generate 256...
Bought asked 23/10, 2015 at 4:55

1

Solved

Edit To get a better feel for the Android Palette class, I decided to make a simple app to test some of its features - if you are interested, you can find the app on the Play Store: https://play.g...
Arpeggio asked 26/1, 2015 at 4:35

1

I have a file with a 4x4 score matrix and I'd like to plot the upper triangular with one color palette and the lower triangular with a different one, overlaying the score value (MWE at the bottom)....
Concrete asked 20/11, 2014 at 17:36

2

Quite often I use a diverging colour palette mapped to a parameter that has an interesting turning point somewhere near the middle. Unfortunately, available diverging palettes -- e.g. those from ...
Parnell asked 23/5, 2014 at 16:53

4

Solved

I am having a slightly odd problem trying to quantize and dither an RGB image. Ideally, I should be able to implement a suitable algorithm in Java or use a Java library, but references to implement...
Pandect asked 31/1, 2014 at 4:8

2

Solved

Currently, I'm using 2D canvas context to draw an image generated (from pixel to pixel, but refreshed as a whole buffer in once after a generated frame) from JavaScript at about a 25fps rate. The g...
Remedial asked 30/10, 2013 at 23:19

1

Solved

I am playing with a program in Python to create cross stitch schemes and need to reduce colors in an image to specific floss colors like this. Not necessary to use all the colors from the floss pal...

1

Solved

Is there a way to create a sequence over colors in R? for example, anything like: seq("#000000", "#999999", length=20)
Deadening asked 21/2, 2013 at 19:5

1

Solved

I have a vector image that I need to edit and I have inkscape. What I want to do is to substitute one set of coulours of the palette by another. For example, my image has a palette with sever...
Cruciferous asked 14/2, 2013 at 18:47

1

Solved

I'm trying to create a plot where color represents the combination of several values. In the example below, I am applying increasing values for red associated with the x-coordinate and increasing v...
Crenelation asked 2/8, 2012 at 7:59

1

Solved

Does anybody know the correct formula to get the saturation level from an RGB color? I already have a function that does it. I've tried loads of them posted on the internet but only this one seeme...
Ulpian asked 25/7, 2012 at 23:3

3

Solved

My goal with this algorithm I'm working on is to output a color progression out of some provided colors. By color progression I mean creating the "fade" effect between two colors (color A, color B)...
Devaughn asked 5/5, 2011 at 16:30

1

Solved

I'm building the interface within interface builder and see that there's a variety of color palettes available for selecting font and background colors: background color>other>color widget 3...
Sandra asked 13/6, 2012 at 14:42

1

old game engines designate the first color of an image's palette as a transparent color. is there a way to do the same with libGDX? i tried loading the picture and replacing the palete's first col...
Madelainemadeleine asked 9/4, 2012 at 20:35

3

Solved

I'm developing a texture atlas packer to use with OpenGL, and I'm currently looking for an open-source (it's better if it's a library, but an open-source software would be good as well!) solution t...
Anemone asked 16/9, 2011 at 14:1

2

Solved

I'm doing this sort of thing: - (NSArray*)colors { float divisor = .3333; NSMutableArray *retVal = [NSMutableArray array]; for (float one=0; one <= 1.0f; one += divisor) { for (float two = ...
Conference asked 21/12, 2011 at 4:20

2

Solved

If I have a PNG image opened as a BufferedImage, is it possible to reduce the palette in the PNG image so that there is less colour (less bits per pixel / colour depth)? For example, if you look a...
Philips asked 26/7, 2011 at 15:20

2

I'm attempting to reverse engineer a file format from a logging program. It seems to use a 1-2 byte field which may be used for label colors, as it seems to be the only thing that's unexplained. Sh...
Goddamned asked 26/6, 2011 at 4:11

2

Solved

I need to assign colours to distinguish between different items. Simple case: order rows of different color according to customer. I don't want to have the user choose a colour for every customer,...
Pipit asked 24/3, 2011 at 10:52

4

Solved

Hello fellow earthlings. A quesion about RGB color and its usefulness in a simple tiny php code: Imagine I have variable $colorA containning a valid six char color. say B1B100, a greenish natural ...
Bootery asked 23/2, 2011 at 23:23

© 2022 - 2024 — McMap. All rights reserved.