## Syntax highlighting in zsh using 256 colors?

Issue I’m using prezto with zsh, and my difficulty is with the syntax highlighting, of which a sample line is ‘function’ ‘bg=green’ I could also have here, for example ‘function’ ‘bg=blue,fg=yellow’ However, I want to take advantage of my 256

## Is there a colored REPL for Clojure?

Issue I’d like to get a colored REPL for clojure code, similar to what you can do with IRB for Ruby. Are there any libraries or settings for user.clj that provide automatic coloring of the REPL? Example IRB: Solution I

## Automated way to convert a vim GUI color scheme to work with 256 color vim?

Issue I have a GUI-only vim color scheme that I would like to convert to a 256 color version. Is there an automated way to do this? Googling only found http://www.vim.org/scripts/script.php?script_id=1809 which didn’t work for me (the colors turned out

## What does the colorized text mean in ATOM Code Editor?

Issue I understand JavaScript. But I know what the red, yellow and purple colorized text means in ATOM. I guess those are grouped by specific JavaScript data but I’m not sure. Do the colorized codes have any other meaning beside

## Is there a way to determine if a a highlight has already been defined in Vim?

Issue For a filetype plug-in, I would like to define and use a default custom highlight name, e.g.: hi CsvColumn guifg=black guibg=NavajoWhite ctermfg=black ctermbg=yellow However, I would like to allow users to define their own in preference to the default,

## Change Emacs syntax highlighting colors

Issue I’m running Emacs, editing files in C++ mode and PHP mode. I love syntax highlighting as a concept, but the default colors are a travesty. I can barely read some of them: way too dark. What is the easiest

## Eclipse syntax colors for HTML files

Issue I’m using eclipse for a few months, I realy like gvim better but eclipse makes my life easier with pydev and phpeclipse. Everything is pretty nice, I have a black fluxbox and black GTK themes, I’ve changed the syntax

## Change syntax color in vim?

Issue I have syntax highlighting on, but comments are set to dark blue. This hard for me to read against a black terminal. How do I change it so that the comments are colored green instead? Solution Probably you just

## Angular : Color cannot be changed with ngClass using bootstrap class "text-white"

Issue Color cannot be changed with ngClass using bootstrap class "text-white". Code: [ngClass] = "{‘text-white’: log >= 5}" Solution Demo Your syntax is correct if log is a number. Firstly check if it is number then be sure that class

## Prevent page to go back on top when selecting a star rating

Issue I found a code to help change stars color as you hover over them. It works like a charm. However, when I click on a star to fix the rating, it sends me to the top of the page.

## How to write qrcodes with zxing using HTML colors

Issue I’m trying to write a colored qrcode using Google’s zxing library in Java. It works fine with this example, which seems to use ARGB colors. Unfortunately I have to use HTML/Hex values for colors in my application, so I

## Remove everything of a specific color (with a color variation tolerance) from an image with Python

Issue I have some text in blue #00a2e8, and some text in black on a PNG image (white background). How to remove everything in blue (including text in blue) on an image with Python PIL or OpenCV, with a certain

## Python OpenCV Color Tracking

Issue Below is my python code for tracking white color objects. It works – but only for a few seconds and then the whole screen turns black and in some times it not work. I experimented with blue color and

## Understanding BufferedImage.getRGB output values

Issue I’m getting an integer value for the pixel in an image using this method: int colour = img.getRGB(x, y); Then I’m printing out the values and I see that black pixels correspond to a value like “-16777216”, a kind

## How to detect the exact color of the images using hsv color model and opencv

Issue I have datasets of images of gemstones.I have categorised the gemstones into folders based on their colours.(That is Red, Blue, Pink,Purple,Yellow). What I want to do is: I want to train a model using hsv model and opencv to

## Looking to extract a random color value from an image. Code type doesn't matter

Issue So, I need a tool that will pick a random color from an image and give me the hex code for it. In specific, from an image of a 4-point gradient. I’m hoping to be able to make it

## OpenCV better detection of red color?

Issue I have the following image: I would like to detect the red rectangle using cv::inRange method and HSV color space. int H_MIN = 0; int H_MAX = 10; int S_MIN = 70; int S_MAX = 255; int V_MIN =

## How to reduce the number of colors in an image with OpenCV?

Issue I have a set of image files, and I want to reduce the number of colors of them to 64. How can I do this with OpenCV? I need this so I can work with a 64-sized image histogram.

## colour cell based on value (date) on another sheet

Issue I have several dates on the Column D of sheet 2. I want to search the first row of sheet 1 and if the same date is found colour the cells but can’t seem to make it work. I

## How to provide an accessible high contrast alternative to a pastel color scheme?

Issue How is it possible to ensure a website’s color theme offers a high-contrast alternative which complies to the WCAG 2 minimum contrast requirements while preferring a pastel, low-contrast theme unless the user wants or needs higher contrast? I tried

## Multiple colours for one element

Issue I’m writing a site where the logo’s going to be a word where the middle characters are a different colour to the outer ones; e.g. <style type=”text/css” media=”screen> .logoG { color:blue; } .logoGo { color:red; } .logoGoo { color:yellow;

## Winston 3.0 colorize whole output on console

Issue 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 of the messages from the winston logger to appear in color,

## How do I apply opacity to a CSS color variable?

Issue I am designing an app in electron, so I have access to CSS variables. I have defined a color variable in vars.css: :root { –color: #f0f0f0; } I want to use this color in main.css, but with some opacity

## Generate Infinite Colors for Array

Issue I want to create an array full of random colors, that will never run out to generate random balls with random colors. So instead of having only 5 colors (blue, red, green, yellow, white) to choose from I want

## Script for replacing color codes to color names?

Issue Does anyone know a way to change color codes to color names? I have an XML with color codes: I need: #FFFFFF to replace to White and #000000 to Black etc. If you know a script, batch, C# program

## How to setup a simple color scheme via CSS Root Variables?

Issue I would like to set the color scheme based on simple CSS root variables. The JavaScript does not work: it does not see/set the root variables when one of the options are clicked. What have I overlooked to make

## How do I color separate words that are in quotation marks

Issue I am making a shop, and I made a "Colors available" part, but I want to be able to color separate words with different colors, in Javascript, css, or HTML, or however it is possible <button onclick="getColors()">Colors Available</button> <script>

## Change navbar text color Bootstrap

Issue I currently have this piece of html which represents the relevant part of my navbar: <nav class=”navbar navbar-inverse” role=”navigation”> <div class=”container”> <ul class=”nav navbar-nav navbar-right”> <li><a href=”#”><span class=”glyphicon glyphicon-user”></span> About</a></li> <li><a href=”#”><span class=”glyphicon glyphicon-earphone”></span> Contact</a></li> <li><a href=”#”><span class=”glyphicon glyphicon-briefcase”></span>

## How do I draw these two shapes below with html CSS?

Issue [trying to draw these shapes with HTML and CSS][1] how should I draw them using only HTML and CSS [1]: https://i.stack.imgur.com/8mvdY.png send me working code if possible Solution You can replicate those shapes using thick, colored borders. .shapes{ box-sizing:

## Are these hex color codes inside square brackets some standard format?

Issue I have received a dataset containing some HTML-like data cells like the following: <span style="font-family: Arial; white-space: pre;"> [#FFFF00#202030] [#202030#FFFFFF]Word1[#FFFFFF#202030]:[#202030#FFFFFFui]Word2 etc </span> I suppose the hex codes in brackets correspond to text & background color (probably background first). But

## Winston 3.0 colorize whole output on console

Issue 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 of the messages from the winston logger to appear in color,

## Get the document's background color

Issue 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. So, I want to find a way, either through CSS or JavaScript, to find

## custom colors not showing in tailwindcss v3 installed via npm

Issue I am using a tailwind cssv3 installed via NPM and I changed my tailwind.config.js to module.exports = { content: [“./*html”], theme: { colors: { transparent: ‘transparent’, current: ‘currentColor’, ‘myblack’: ‘#ffffff’, ‘myblack’: ‘#000000’, ‘myorange’: ‘#FF7E00’, ‘mygray’: ‘#A8A8A8’, ‘mywhiteuse1’: ‘#F1EBEB’, ‘mywhiteuse2’:

## How to make an HTML/CSS/JS color changing background (like Kahoot.it has)

Issue How do I make a color changing/fading background using html and css and possibly javascript similar to waht https://kahoot.it has? Solution You should learn to inspect and obtain @keyframes bgcolor { 0% { background-color: #45a3e5 } 30% { background-color:

## custom colors not showing in tailwindcss v3 installed via npm

Issue I am using a tailwind cssv3 installed via NPM and I changed my tailwind.config.js to module.exports = { content: [“./*html”], theme: { colors: { transparent: ‘transparent’, current: ‘currentColor’, ‘myblack’: ‘#ffffff’, ‘myblack’: ‘#000000’, ‘myorange’: ‘#FF7E00’, ‘mygray’: ‘#A8A8A8’, ‘mywhiteuse1’: ‘#F1EBEB’, ‘mywhiteuse2’:

## How to color tables in css

Issue enter image description here How can i change the background-color as in the picture in css. Can you please help me. Solution table, td, th { border: 1px solid; } table { width: 100%; border-collapse:collapse; } .left { background-color:yellow;

## How to color tables in css

Issue enter image description here How can i change the background-color as in the picture in css. Can you please help me. Solution table, td, th { border: 1px solid; } table { width: 100%; border-collapse:collapse; } .left { background-color:yellow;

## Get the document's background color

Issue 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. So, I want to find a way, either through CSS or JavaScript, to find

## Get the document's background color

Issue 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. So, I want to find a way, either through CSS or JavaScript, to find

## Rainbow text animation using only CSS

Issue I got inspired by this Rainbow Text Animation rainbow-text-animation, and I would like to use only CSS to make this happen instead of all that complicated SCSS coding. I got what I like so far and now I just

## Why is the css color syntax in my li tag not working

Issue I am struggling with changing the color of my font in my nav bar button eg. Home to white. In my style.css file I first used .navbar-nav li but then the padding did not work, when I changed it

## Why is the css color syntax in my li tag not working

Issue I am struggling with changing the color of my font in my nav bar button eg. Home to white. In my style.css file I first used .navbar-nav li but then the padding did not work, when I changed it

## Rainbow text animation using only CSS

Issue I got inspired by this Rainbow Text Animation rainbow-text-animation, and I would like to use only CSS to make this happen instead of all that complicated SCSS coding. I got what I like so far and now I just

## Changing primary color in Naive-UI and typescript

Issue I am new to using Naive and I want to override the theme of my app to have the primary color be orange. I was using vuestic to change it originally, so I am unsure on what I am

## Setting CSS styles, color, for MathJax

Issue 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 of my page). Currently I have

## Convert RGB to RGBA over white

Issue 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 sense? I’m looking for an algorithm, or at least idea of an algorithm for

## Which color space does linear-gradient() uses?

Issue Which color space does CSS’s linear-gradient() function uses, RGB, HSL or HSV and why ? Can I change the color space of my own choice ? Solution In the future you can specify the color space Compared to [css3-images],

## Adapt given color pairs to adhere to W3C Accessibility standard for ePubs

Issue We are trying to produce ePub publications that adhere to the W3C accessibility standards. One of the remaining issues is insufficient color contrast between the text color and the background color. We use Ace by DAISY (great tool!) which

## How to change the color of an svg element?

Issue I want to use this technique and change the SVG color, but so far I haven’t been able to do so. I put this in the CSS, but my image is always black, no matter what. My code: .change-my-color

## how to make a pull down menu which chnages background color

Issue i’ve tried to make a pulldown menu which changes the page background color, but it doesnt work. any suggestions? <body> <select name="colors" onechange="changeColors(this)"> <option value="blue">Blue</option> <option value="#868B8E">Grey</option> <option value="#FFC55C">Orange</option> </select> <script src="images8.js"></script> </body> the js function changeColor(event) { var

## Angular 5 Material setting dynamic (random) colors

Issue I have a lightweight carousel that is showing strings (questions) from an array. I want to change the background (and potentially the foreground) colors dynamically. However, my code is causing an error… WARNING: sanitizing unsafe style value background:blue (see

## How to set button or icon color in mat-cell based on the color Hexcode value of element

Issue I put a button in mat-cell, actually an icon is also fine, as my purpose is to indicate the color attribute of each record in a table. Each record has its own color values: name, hexcode and foreground, e.g.,

## jekyll theme – how can i bypass this color setting

Issue Im editing this jekyll theme with github pages and im trying to add buymeacoffee generated button in menu bar. It works but for some reason it gets the theme colors, i tried to debug it hours now but it

## Javascript – check if string is valid CSS color?

Issue If a color string is a number, then we can use a RegExp to check if it’s a valid CSS color. But what if it’s a word? I have code that generates controls dynamically from colors arguments. But instead

## Javascript: change color of the entire page

Issue I’m developing a website for a personal project and I have a problem with the background color setting. Whatever I do to change the color only changes the color of the container inside my page. I tried to add

## Toggle Color based on RGB or Hex values of DOM element

Issue Why does the following code not toggle the element color when the button is clicked? My assumption is that the style.color is returning an object of sorts and not a string. What would be the best way to correct

## Is there any way to change the doughnut chart color in ng2-charts?

Issue I try to change doughnut chart colors. Here is my current chart: Now, I try to change these colors as follows #fa72bc,#00bfff and #ffa500. I changed the colors for “line chart” and “bar chart” using the following code: BAR

## Default Color in CSS

Issue Pretty new to this. Let’s say define the following in my CSS file (no color attribute) .time { border: 1px solid #666666; background: #555555; text-align: center; cursor: pointer; transition: all linear 0.3s; padding: 1px 2px; font-size: .8em; } and