Blog Archives

Xcode RGB Color Code

When designing in xib files in Xcode you might want to use RGB colors, which can be hard to find. It is possible you just have to know where to look. Select the item you want to set the color

Posted in Mac, Tips and Tricks Tagged with: , ,

Change Color In Command Prompt

Changing the color in Command Prompt can be done with a single command. The color command makes it easy to quickly change the default background and text color. Works in Windows 2000, XP, Vista, 7 and 8. color [attr] Write color

Posted in Tips and Tricks, Windows Tagged with: ,

Android Java Color From Hexadecimal Color String

To get a Color from a hexadecimal to a color you can use the parseColor public static int parseColor (String colorString) And to use it remember the # character Color.parseColor(“#636161”);

Posted in Android, Tips and Tricks Tagged with: , ,

Android SetTextColor From Colors

When setting the colors for e.g. a TextView you can use the settextcolor from either a color or resource. void android.widget.TextView.setTextColor(int color) public void setTextColor (int color) Sets the text color for all the states (normal, selected, focused) to be

Posted in Android Tagged with: , ,