如何在Interface Builder中输入RGB值? [英] How do I enter RGB values into Interface Builder?

查看:115
本文介绍了如何在Interface Builder中输入RGB值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Interface Builder中为背景输入RGB或十六进制颜色值?我可以选择预定义的颜色,但我想手动输入RGB值。我在哪里可以做这个?

How can I enter RGB or Hex color values for backgrounds in Interface Builder? I can select predefined colors but I would like to manually enter in RGB values. Where can I do this?

推荐答案

点击颜色滑块图标,然后从下拉菜单中选择RGB滑块列表。

Click on the color slider icon, and then choose "RGB Sliders" from the drop-down list.

您还可以使用放大镜作为颜色选择器,从屏幕上的任何位置拾取确切的颜色;也请参阅@ ken的优秀评论,以下阐明颜色空间如何与放大镜配合使用。

You can also use the magnifying-glass as a color picker to pick up an exact color from anywhere on the screen; also see @ken's excellent comment below clarifying how colorspaces work with the magnifying glass.

这篇关于如何在Interface Builder中输入RGB值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆