Category "colors"

Make Line chart gradient color go from line to bottom - SwiftUI

I am trying to make it so the line chart display a gradient color from the line and down but I can't seem to get it to only go from the line. Instead it just fi

Get the document's background color

Most web browsers, by default, render pages as having a white background. However, this is to some extent user customizable, and some browsers are different.

Setting CSS styles, color, for MathJax

Hi I am trying to add styles to my MathJax output. In particular I would like to set a global color for my equations (so that it matches the styles on the rest

Winston 3.0 colorize whole output on console

I am developing a Node.js application, using babel-cli as an ES6 transpiler and I am using Winston 3.0 as my logging service. Question: I want the whole output

Winston 3.0 colorize whole output on console

I am developing a Node.js application, using babel-cli as an ES6 transpiler and I am using Winston 3.0 as my logging service. Question: I want the whole output

How to call upon a color transform in AS3

If I use colortransform to set a color to an object is there any way I can call on that color through the parent? for example var color1 = new ColorTransform();

How to use PyAutoGUI to detect RGB values

I'm trying to build a small bot that clicks only certain colours. I believe pyautogui.displayMousePosition() should display the position of my mouse as well as

How to avoid color changes when button is disabled?

We have a Windows Forms project with quite a few FlatStyle buttons. When we disable the buttons, the colors of the buttons are changed automatically Frown | :(

Javascript change color of text and background to input value

I'm going to use javascript to make a function for changing color of background, as well as text simultaneously - based on the value of a text input. I've got t

Colors for heatmap in R

I'm making a heatmap in R, but being very new to R, I have some questions: My data is a big matrix 21 columns and 89 rows, containing numbers from 0 to 16. I w

Nivo React Scatterplot - node colors per object key - possible?

Using Nivo React Scatterplot chart I want to specify dot color respective to key value of my data object. E.g.: data: [ { x: 0, y: 3300, average: 3500, status

SwiftUI — Color.yellow renders as brown on iOS device (but yellow in simulator)

Why does Color.yellow appear brown on my iPhone X but yellow in my simulator? It's not a display problem, as this iPhone X screenshot of a test app shows: As y

Converting Hex to RGB value in Python

Working off Jeremy's response here: Converting hex color to RGB and vice-versa I was able to get a python program to convert preset colour hex codes (example #B

Detect color under macOS mouse cursor

I want to know how to get the color of the pixel where the OS X / macOS mouse pointer currently is located. I programmed a console application, so I have no win

Getting individual colors from a color map in matplotlib

If you have a Colormap cmap, for example: cmap = matplotlib.cm.get_cmap('Spectral') How can you get a particular colour out of it between 0 and 1, where 0 is t

Converting from HSV (HSB in Java) to RGB without using java.awt.Color (disallowed on Google App Engine)

I figured I should post this question, even if I have already found a solution, as a Java implementation was not readily available when I searched for it. Usin

Android: change background color View onClick Button

How I can change the background color to a View this under a button when I click the button? I've tried a selector does not work because the View not change the

Convert RGB to RGBA over white

I have a hex color, e.g. #F4F8FB (or rgb(244, 248, 251)) that I want converted into an as-transparent-as-possible rgba color (when displayed over white). Make

JavaScript Calculate brighter colour

I have a colour value in JS as a string #ff0000 How would I go about programatically calculating a brighter/lighter version of this colour, for example #ff48

Rainbow color function

Is there a python library with a rainbow color function? What I want is a function such that I give as input a number between 0. and 1. and it returns a color