Hot answers tagged

35

Custom syntax color themes are located in ~/Library/Developer/Xcode/UserData/FontAndColorThemes/ (Note that this directory may not exist if you've not yet modified any of your themes or haven't created a custom theme of your own, but will be created as soon as you do.) The files have a .dvtcolortheme extension. Simply retrieve the file from that directory ...


18

Select View → Display Values → as Hexadecimal: Now the main window displays hex values: Also, Color → Copy Color as Text ⇧⌘C will now format the color like #C8D8E8 (instead of 200 216 232).


16

Using ImageMagick: $ convert image.png -crop '1x1+100+200' txt:- Outputs, e.g. # ImageMagick pixel enumeration: 1,1,255,rgb 0,0: (236,236,236) #ECECEC rgb(236,236,236) Or, if the file is PNG-24 file, it outputs e.g. # ImageMagick pixel enumeration: 1,1,255,rgba 0,0: ( 0, 0, 0,243) #000000F3 rgba(0,0,0,0.952941) At -crop option I've first defined ...


15

You can set hide-mirror to true to remove the blur effect: defaults write com.apple.dock hide-mirror -bool true;killall Dock Before: After: I don't know how to make the background dark though.


15

System Prefs > Accessibility > Display > Reduce Transparency. You can search it with 'reduce'.


14

It’s a matter of having the right settings in your ~/.vimrc file. Here’s mine: https://github.com/mathiasbynens/dotfiles/blob/master/.vimrc. The key is to add this: " Enable syntax highlighting syntax on You can install color schemes in your ~/.vim/colors directory. To enable a colorscheme, use: " Select a colorscheme colorscheme molokai I’m using ...


10

2017 update: Display P3 Macs will display incorrect colours if you use the strategy below. I should write more about the setup required for the 5K iMacs and 2016 MacBook Pros. You're well on track if you use "Don't Color Manage This Document" for your PSDs. That's part of the issue solved. And by disabling "Convert to sRGB" in the Save For Web window, you'...


10

Yes, this can be achieved with AppleScript and Automator. The setting to automate is located in: System Preferences > Accessibility > Display > Use Greyscale The keyboard combination option + command + F5 also shows Accessibility options. This Apple discussion, Keyboard shortcut for "Use grayscale", shows how to use AppleScript and Automator to create a ...


9

There is no straightforward solution, but there are at least a few workarounds available to do this. You can install hilite by building the single C file (hilite.c in this case) or by using brew install hilite (with homebrew installed on the system). Use it as hilite <command>. You can use the command from this answer on serverfault (substitute ...


7

To add color output of the ls command, you need to edit your ~/.bash_profile and add: export CLICOLOR=1 export LSCOLORS=ExFxCxDxBxegedabagacad This is just an example, look at the ls manpage on how to change specific color values.


7

I may not be understanding the question fully, since you change the color settings per-tab/window contrary to your question, but here is how to do what I think you want. Go to Terminal menu > Preferences. Click on the Settings tab. Click on the gear icon at the bottom left and choose Duplicate Settings. Enter a name for your settings. Make any changes you ...


7

As many have mentioned above, I did this - Take a backup of existing ShadowedIBeam.tiff cp Terminal.app/Contents/Resources/ShadowedIBeam.tiff Terminal.app/Contents/Resources/ShadowedIBeam.orig.tiff Make your own cursor .... or, if you are a lazy one, just use this one - (credit: Chris Dragon and his answer on this thread) Then copy it over the original ...


7

Just discovered today, March 2018, you can now just select the color chip (soft online indicates it's selected) and use "delete" key.


6

DigitalColor Meter (found in /Applications/Utilities) tells you the colour value (RGB) of the pixel your cursor is hovering over.


6

The problem was caused by OS X outputting in YPbPr not RGB. YPbPr sends approximate colours and is used primarily for TVs. Unlike Windows, OS X didn't recognise the Dell as a Monitor because of the HDMI connection. Shifting to a DVI connector fixed this and forced RGB colour data, and thus, correct colours. So no, it was not a problem with callibrating the ...


6

There's a third-party utility app called cDock that can change or remove the Dock's background. I can confirm it works for me on OS X 10.9.2. Just download it, run and select the "Install Transparent dock" option. You can also choose the "Install 10.8 style dock" option which will enable the theme from OS X 10.8. You can revert to the default dock at any ...


6

Our "Cousin" has a number of good suggestions. The "BIOS" which is just the firmware of the machine and not strictly speaking a BIOS needs to be there and non-corrupt just like he said. You do need a battery and it needs to be good, it won't boot without it. That is what I would replace first. Just pop it out of the machine and take it to a batteries+ ...


6

Assuming you're fairly default and using bash: http://www.tuxarena.com/2012/04/tutorial-colored-man-pages-how-it-works/ Short version: Add the following to your .bashrc file: export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode – red export LESS_TERMCAP_md=$(printf '\e[01;35m') # enter double-bright mode – bold, magenta export ...


6

You can find it under Applications/Utilities. From there, you can drag it to your Dock to create an alias. See Mac Basics: The Dock for additional info on making the most of the Dock. To remove the Question Mark, drag it off the Dock until you see "Remove" then release.


6

I handed in my computer with the problem to an authorized service shop. At first they didn't recognize the error, but after some further convincing from my part they claim to have spoken with Apple about it. Apparently, the problem with warm hue is a software bug introduced in one of most recent versions of MacOS High Sierra (spring 2018), and it afflicts ...


5

I'm running Snow Leopard and my iCal Get Info command allows me to change colors. Here's a screen capture where I can make this change. To reach this window, I highlight the exchange "Calendar" in the left hand sidebar of iCal and enter Cmd I. In my iCal setup, I have "Home" (orange) "Gmail" (blue)and "Exchange" (red). I can get info and change the color ...


5

Neither MacOSX nor iOS offer to change the OS theme. If you want to do this, you need to use third party software. What MacOSX does offer, is changing the color profile and calibrate it in System Preferences -> Displays -> Color -> Calibrate. I've played around with different options and found the option "Cool bluish white" to be much easier on the eye:


5

This solution requires F.lux to be installed (I assume it's at /Applications/Flux.app). Create a text file (let's call it flux-day-color) and put it in /usr/local/bin (usr is under "Macintosh HD" and may be hidden). #!/bin/bash if [[ ! -z "$1" && "$1" -ge 2700 && "$1" -le 6500 ]]; then defaults write org.herf.Flux dayColorTemp -int "$1" ...


5

I'll also say that MacVim is a nice upgrade from the standard Vim that ships with OS X, but it isn't necessary. What you need is Vim configuration that adds syntax highlighting to VIM. The fastest way to get that is with Janus -- it's a set of VIM plugins and configuration files pre-configured and ready to go. It works with Vim and MacVim. To install it: ...


5

I joined just for saving anyone interested from the frustration I had in the last couple of hours. This fixed it for me (the universal patch).


5

Skala Color is another solution, that works very well in the latest versions of Mac OSX. You can select HEX to appear in place of the RGB code, which appears in the above picture. I used Hex Color Picker for a long time but finally got tired of it trying to be smarter than me. Frequently I would type a single character and it filled in all 6 values for ...


5

I finally found how to add profile: put the icm file on that directory: Macintosh HD\Library\ColorSync\Profiles And you'll see your profile here.... Anyway, this did not solved my issue, it looks like Apple really want us to buy their incredibly expensive screens. I surely regrets paying 30 boxes to upgrade to 10.8.


5

Using /Applications/Utilities/DigitalColor Meter.app set to RGB as Actual Value, 8-bit and then hover over each color to find it's RGB color values. Color Values: ## COLOR HEX (RRR GGG BBB) 1 Red #E7A1A2 (231 161 162) 2 Orange #F9BA89 (249 186 137) 3 Peach #F7DD8F (247 221 143) 4 Yellow #FCFA90 (252 250 144) 5 Green ...


5

bplist means binary property list, which can be converted to XML with plutil -convert xml1. Inside each plist for a color is another data key for the fractional RGB values. /usr/libexec/PlistBuddy -x -c 'Print "Window Settings":"My Theme"' ~/Library/Preferences/com.apple.Terminal.plist|tr -d '\n\t'|grep -o '[^>]*</key><data>[^<]*'|while ...


5

In Solarized Dark.terminal and Solarized Light.terminal, the 2*8 ANSI colors are specified in the sRGB color space, which seems to be identical with Device RGB at least on my iMac. The text, bold text, selection, cursor, and background colors are untagged, or shown as Generic RGB in the color picker. Terminal doesn't convert either of them to the color space ...


Only top voted, non community-wiki answers of a minimum length are eligible