Skip to main content

Questions tagged [colors]

Use this tag for questions about representing or manipulating colors in a programming language.

colors
2 votes
1 answer
27 views

How to display a custom color for NA values in an R Plotly choropleth map?

I would like to change the fill color of NA values in a choropleth r plotly interactive map from white (or transparent?) to light gray. This is for an R Shiny application, so I would like to retain ...
rdev's user avatar
  • 21
0 votes
3 answers
71 views

Calculate a light enough shade of a given color to use as background for black text

Suppose my web app is given any random color, say purple, to use as a base accent color. Black - or nearly black - text has a bad contrast against this purple background: But if you make background a ...
Mikhail Batcer's user avatar
0 votes
0 answers
31 views

Subdividing Font Space in the Terminal for High-Definition Pixel Art

I just started programming as a hobby three weeks ago, and I'm amazed at what I can do. I exclusively use Rust. Before I try making a game with a GUI, I want to create a simple one in the terminal. ...
Linux_96's user avatar
-2 votes
0 answers
26 views

My CSS code is working in some places but not in others [closed]

The font weight and colors will not change. My background color will not change. I have inspected every line of code. I checked my webpage inspection to see if everything was working and it said it ...
EzNigma's user avatar
  • 11
-1 votes
0 answers
63 views

Why is the color of the line black if the BGR Code I have is red?

When running this code the desired outcome is for the line drawn to be red but it is drawing a black line. I am confused since I wrote the BGR code for white but it seems that is it is just working in ...
Jaime Manuel Garcia Dominguez's user avatar
-1 votes
0 answers
44 views

How can you change the color of a pixel on your live display using Python? [duplicate]

I'm currently deep into GPU coding and I'm facing a unique challenge. I need to find a way to dynamically alter the color of individual pixels directly on my display monitor using Python. This isn't ...
Zach McLeod's user avatar
1 vote
1 answer
24 views

Trying to decipher how RGB values calculate integer values

I'm currently looking at some really old legacy code that unfortunately doesn't have any documentation/comments. I have a palette file that contains rgb values in a comma separated file, and integers ...
Roka545's user avatar
  • 3,554
0 votes
1 answer
34 views

Extract fill color information from PPT Table

In a PowerPoint presentation, I have a table where one column is filled with different colors. Is it possible to automate to identify/extract the RGB values or color of the fill in each cell? Tried ...
Raj Kumar's user avatar
0 votes
0 answers
28 views

python3 print command does not recognize colored text

Python below opens a yaml file, read some color-formatted text and print it. text1 and text2 somehow remains in text, color is not applied. If I set the text as a variable, it works. So, the way I ...
Guillermo Carbajal's user avatar
-1 votes
0 answers
79 views

Very slow CPP color detection when checking for mass amounts of color pixels

So, I am creating a program where it counts of pure black pixels given an x,y range on the monitor. The only problem is that this method provided below takes so long to run, while in java, it can run ...
wasddsaw's user avatar
1 vote
1 answer
58 views

Light Grey looks Greenish in Flutter

As you can see in the two image provided, light grey looks greenish despite reading a value of #F6F6F6 , then it looks normal after changing the scaffold background to White. Are Flutter Widgets ...
Ali Waseem's user avatar
0 votes
1 answer
37 views

Setting Interior Color in a cell in excel

I am trying to colour the interior of cells in an excel spreadsheet. I want to set a colour which I am deriving from a routine based on a "NoteNum". This is just a number from a sequence ...
MarkA's user avatar
  • 9
2 votes
1 answer
36 views

Matplotlib change color of a specific point

I can't change the color of the single that is clicked. The idea is to change the color of a point in red after a click on, and turn back the other in blue if he was selected before and in red, to ...
Bast38's user avatar
  • 81
0 votes
1 answer
17 views

How could I change the colour of R ggcorrplot to grey?

I want to publish a scientific article, but for the printed version I need the figures black and white. I cannot do this with ggcorrplot(). I tried this: ggcorrplot(mod, show.diag=FALSE, type="...
Priszcilla Hafenscher's user avatar
1 vote
1 answer
38 views

Changing colors within my footer in flextable

I have certain words in my flextable footer lines that I would like to be a different color. Here is an example using the example iris data. library(flextable) ft_1 <- flextable(head(iris)) ft_1 &...
Sarah's user avatar
  • 461

15 30 50 per page
1
2 3 4 5
1463