{"id":4780,"date":"2024-04-14T10:54:52","date_gmt":"2024-04-14T02:54:52","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=4780"},"modified":"2024-04-14T10:54:52","modified_gmt":"2024-04-14T02:54:52","slug":"color-selection-overview","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/zh\/color-selection-overview\/","title":{"rendered":"\u984f\u8272\u9078\u64c7\u6982\u8ff0"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p>\u5efa\u7acb\u7db2\u7ad9\u6642\uff0c\u70ba\u5b57\u9ad4\u3001\u80cc\u666f\u3001\u908a\u6846\u6216\u4efb\u4f55\u5176\u4ed6\u5143\u7d20\u9078\u64c7\u9670\u5f71\u662f\u4e00\u9805\u4f8b\u884c\u4efb\u52d9\u3002\u4f7f\u7528\u984f\u8272\u9078\u64c7\u5668\u9078\u64c7\u9670\u5f71\u4e26\u8abf\u6574\u5176\u900f\u660e\u5ea6\u3002\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u5728\u7db2\u7ad9\u4e0a\u5b9a\u7fa9\u984f\u8272\u8b8a\u91cf\uff0c\u4e26\u5728\u4f7f\u7528\u984f\u8272\u9078\u64c7\u5668\u6642\u9078\u64c7\u5b83\u5011\u3002<\/p>\n<h2>\u9078\u64c7\u4e00\u7a2e\u984f\u8272\u4e26\u8abf\u6574\u5176\u900f\u660e\u5ea6<\/h2>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u4e4b\u4e00\u9078\u64c7\u8272\u8abf\uff1a<\/p>\n<ul role=\"list\">\n<li>\u4f7f\u7528\u984f\u8272\u9078\u64c7\u5de5\u5177<\/li>\n<li>\u5229\u7528\u8272\u8b5c\u548c\u63a7\u4ef6<\/li>\n<li>\u5728\u5c0d\u61c9\u7684\u8f38\u5165\u6b04\u4f4d\u4e2d\u8f38\u5165\u503c<\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u76f4\u63a5\u5f9e\u984f\u8272\u9078\u64c7\u5668\u67e5\u770b\u7db2\u7ad9\u4e0a\u6587\u5b57\u7684\u5c0d\u6bd4\u5ea6\uff0c\u5b83\u4e0d\u50c5\u986f\u793a\u6587\u5b57\u7684\u5c0d\u6bd4\u5ea6\uff0c\u9084\u986f\u793a\u8207\u8a72\u5c0d\u6bd4\u5ea6\u76f8\u5c0d\u61c9\u7684 WCAG \u7b49\u7d1a\u8a55\u7d1a\u3002<\/p>\n<p>\u5c0d\u6bd4\u5ea6\u6703\u5f71\u97ff\u7db2\u7ad9\u7684\u53ef\u8a2a\u554f\u6027\u3002\u8db3\u5920\u7684\u5c0d\u6bd4\u5ea6\u53d7\u524d\u666f\uff08\u6587\u5b57\uff09\u548c\u80cc\u666f\u984f\u8272\uff08\u6587\u5b57\u5f8c\u9762\u7684\u80cc\u666f\uff09\u3001\u5b57\u9ad4\u5927\u5c0f\u548c\u5b57\u9ad4\u7c97\u7d30\u7684\u5f71\u97ff\u3002<\/p>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u5207\u63db\u201c<strong>\u773c\u775b<\/strong>\u300d \u5716\u793a\uff08\u4f4d\u65bc\u984f\u8272\u9078\u64c7\u5668\u7684\u5c0d\u6bd4\u90e8\u5206\uff09\uff0c\u53ef\u67e5\u770b AA\u3001AAA \u548c WCAG \u5931\u6557\u8a55\u7d1a\u4e4b\u9593\u7684\u904e\u6e21\u3002<\/p>\n<h3>\u4f7f\u7528\u984f\u8272\u9078\u64c7\u5de5\u5177<\/h3>\n<p>\u82e5\u8981\u5f9e\u756b\u5e03\u4e0a\u6216\u76ee\u524d\u700f\u89bd\u5668\u8996\u7a97\u5916\u90e8\u7684\u4efb\u4f55\u5143\u7d20\u9078\u64c7\u8272\u8abf\uff0c\u8acb\u5229\u7528\u984f\u8272\u9078\u64c7\u5de5\u5177\u3002\u60a8\u53ef\u4ee5\u6309\u7a7a\u767d\u9375\u986f\u793a\u6216\u96b1\u85cf\u76ee\u6a19\u8272\u8abf\u7684 RGB \u6578\u5b57\u3002\u00a0<\/p>\n<h6><strong>\u6ce8\u610f\uff1a\u82e5\u8981\u5b58\u53d6\u984f\u8272\u9078\u64c7\u5de5\u5177\uff0c\u61c9\u4f7f\u7528 Chrome \u6216 Edge \u4f5c\u70ba\u700f\u89bd\u5668\uff08\u4f8b\u5982\u57fa\u65bc Chromium \u7684\u700f\u89bd\u5668\uff09\u3002 <\/strong><strong>\u700f\u89bd Webflow \u652f\u63f4\u7684\u700f\u89bd\u5668\u5217\u8868<\/strong><strong>.<\/strong><\/h6>\n<h3>\u5229\u7528\u8272\u8b5c\u548c\u63a7\u4ef6<\/h3>\n<p>\u82e5\u8981\u5f9e\u5149\u8b5c\u4e2d\u9078\u64c7\u8272\u8abf\uff0c\u8acb\u4f7f\u7528 <strong>\u8272\u8abf\u6ed1\u687f<\/strong> \u9078\u64c7\u8272\u8abf\uff0c\u7136\u5f8c\u4f7f\u7528 <strong>\u8272\u5f69\u5e73\u9762<\/strong> \u9078\u64c7\u5408\u9069\u7684\u8272\u8abf\u3002\u5982\u679c\u60a8\u60f3\u964d\u4f4e\u8272\u8abf\u7684\u900f\u660e\u5ea6\uff0c\u8acb\u4f7f\u7528 <strong>\u900f\u660e\u5ea6\u6ed1\u687f<\/strong>.<\/p>\n<h4>\u8272\u5f69\u5e73\u9762<\/h4>\n<p>\u984f\u8272\u5e73\u9762\u4f7f\u60a8\u80fd\u5920\u9078\u64c7\u60f3\u8981\u4f7f\u7528\u7684\u8272\u8abf\u7684\u6df1\u6dfa\u3002\u60a8\u53ef\u4ee5\u6cbf\u8457 x \u8ef8\u79fb\u52d5\u9078\u53d6\u5668\u4ee5\u8b8a\u66f4\u8272\u8abf\u7684\u98fd\u548c\u5ea6\uff0c\u4e26\u6cbf\u8457 y \u8ef8\u79fb\u52d5\u9078\u53d6\u5668\u4ee5\u4fee\u6539\u4eae\u5ea6\u3002\u82e5\u8981\u6539\u8b8a\u8272\u8abf\uff0c\u8acb\u4f7f\u7528 <strong>\u8272\u8abf\u6ed1\u687f<\/strong> \u4ee5\u4e0b\u3002<\/p>\n<h4>\u8272\u76f8\u6ed1\u687f<\/h4>\n<p>\u8272\u8abf\u6ed1\u687f\u4f7f\u60a8\u80fd\u5920\u5f9e\u8272\u8abf\u5149\u8b5c\u4e2d\u9078\u64c7\u60a8\u60f3\u8981\u4f7f\u7528\u7684\u8272\u8abf\u3002\u7136\u5f8c\u60a8\u53ef\u4ee5\u4f7f\u7528 <strong>\u8272\u5f69\u5e73\u9762<\/strong> \u591a\u65bc\u3002<\/p>\n<h4>\u900f\u660e\u5ea6\u6ed1\u687f<\/h4>\n<p>\u900f\u660e\u5ea6\u6ed1\u687f\u53ef\u8b93\u60a8\u6307\u5b9a\u8272\u8abf\u7684\u900f\u660e\u5ea6\u7b49\u7d1a\u3002 100% \u5c07\u4f7f\u8272\u8abf\u5b8c\u5168\u4e0d\u900f\u660e\uff0c\u4efb\u4f55\u4f4e\u65bc\u8a72\u503c\u7684\u503c\u90fd\u6703\u4f7f\u8272\u8abf\u900f\u660e\u3002\u7576\u5728\u5f71\u50cf\u4e0a\u6dfb\u52a0\u8272\u8abf\u758a\u52a0\u6216\u5efa\u7acb\u900f\u660e\u80cc\u666f\u6642\uff0c\u9019\u975e\u5e38\u6709\u7528\u3002<\/p>\n<h3>\u5728\u5c0d\u61c9\u7684\u8f38\u5165\u6b04\u4f4d\u4e2d\u8f38\u5165\u503c<\/h3>\n<p>\u5982\u679c\u60a8\u5e0c\u671b\u5728\u9078\u64c7\u8272\u8abf\u6642\u66f4\u52a0\u7cbe\u78ba\uff0c\u53ef\u4ee5\u4f7f\u7528\u7db2\u9801\u984f\u8272\u540d\u7a31\u3001\u5341\u516d\u9032\u4f4d\u4ee3\u78bc\u3001HSB\/HSBA \u503c\u6216 RGB\/RGBA \u503c\u3002\u60a8\u53ef\u4ee5\u5c07\u9019\u4e9b\u503c\u8cbc\u5230\u300c\u6a23\u5f0f\u300d\u9762\u677f\u6216\u300c\u6a23\u5f0f\u300d\u9762\u677f\u4e2d\u7684\u4efb\u4f55\u984f\u8272\u6b04\u4f4d\u4e2d\u3002 <strong>\u5341\u516d\u9032\u4f4d\u8f38\u5165\u5b57\u6bb5<\/strong> \u5728\u984f\u8272\u9078\u64c7\u5668\u4e2d\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u5206\u89e3\u4ee3\u78bc\u4e26\u5728\u5176\u6307\u5b9a\u6b04\u4f4d\u4e2d\u8f38\u5165\u6bcf\u500b\u503c\uff1a<\/p>\n<ul role=\"list\">\n<li>\u5341\u516d\u9032\u4f4d\u503c\u5728 <strong>\u5341\u516d\u9032\u4f4d\u5b57\u6bb5<\/strong><\/li>\n<li>HSBA \u503c\u7d30\u5206\u70ba <strong>HSB \u548c A \u5b57\u6bb5<\/strong><\/li>\n<li>RGBA \u503c\uff0c\u5206\u958b\uff0c\u5728 <strong>RGB \u548c A \u5b57\u6bb5<\/strong><\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u900f\u904e\u9ede\u64ca\u6a19\u7c64\u5728 HSB \u548c RGB \u4e4b\u9593\u5207\u63db\u3002<\/p>\n<h4>\u5341\u516d\u9032\u4f4d\u8f38\u5165\u5b57\u6bb5<\/h4>\n<p>\u6b64\u8f38\u5165\u6b04\u4f4d\u652f\u63f4\u6240\u6709 Web \u984f\u8272\u683c\u5f0f\uff0c\u53ef\u8b93\u60a8\u8f38\u5165\u4efb\u4f55 HTML \u984f\u8272\u503c\u3002\u6240\u6709\u503c\u90fd\u5c07\u8f49\u63db\u70ba\u5341\u516d\u9032\u5236\u3002\u4e86\u89e3\u6709\u95dc\u5341\u516d\u9032\u4f4d\u4ee3\u78bc\u548c\u7db2\u9801\u984f\u8272\u683c\u5f0f\u7684\u66f4\u591a\u8cc7\u8a0a\u3002<\/p>\n<h4>HSB \u548c RGB \u8f38\u5165<\/h4>\n<p>\u8207 HEX \u8f38\u5165\u6b04\u4f4d\u76f8\u9130\uff0c\u6709 3 \u500b\u6a19\u793a\u70ba\u300cHSB\u300d\u7684\u8f38\u5165\u6b04\u4f4d\u3002\u5982\u679c\u55ae\u64ca\u6a19\u7c64\uff0c\u5b83\u5c07\u5207\u63db\u5230\u201cRGB\u201d\u3002\u82e5\u8981\u6062\u5fa9\uff0c\u8acb\u518d\u6b21\u6309\u4e00\u4e0b\u8a72\u6a19\u7c64\u3002<\/p>\n<p>\u201cH\u201d\u4ee3\u8868\u8272\u8abf\u3002\u7576\u60a8\u4f7f\u7528 <strong>\u8272\u8abf\u6ed1\u687f<\/strong>\uff0c\u300cH\u300d\u6b04\u4f4d\u4e2d\u7684\u503c\u5c07\u6703\u66f4\u65b0\u3002 \u201cS\u201d\u4ee3\u8868\u98fd\u548c\u5ea6\uff0c\u201cB\u201d\u4ee3\u8868\u4eae\u5ea6\u3002\u7576\u60a8\u5728\u5340\u57df\u4e2d\u79fb\u52d5\u9078\u53d6\u5668\u6642\uff0c\u9019\u4e9b\u503c\u5c07\u6703\u767c\u751f\u8b8a\u5316 <strong>\u8272\u5f69\u5e73\u9762<\/strong>\u3002\u5982\u679c\u60a8\u77e5\u9053\u8981\u4f7f\u7528\u7684\u8272\u8abf\u7684 HSB \u503c\uff0c\u5247\u53ef\u4ee5\u5728\u9069\u7576\u7684\u6b04\u4f4d\u4e2d\u8f38\u5165\u503c\u3002<\/p>\n<p>\u5982\u679c\u60a8\u77e5\u9053\u8272\u8abf\u7684 RGB \u503c\uff0c\u8acb\u9ede\u9078 HSB \u6a19\u7c64\u4e26\u8f38\u5165\u7d05\u8272\u300cR\u300d\u3001\u7da0\u8272\u300cG\u300d\u548c\u85cd\u8272\u300cB\u300d\u7684\u503c\u3002\u7121\u8ad6\u4f7f\u7528\u4ec0\u9ebc\u5de5\u5177\u4f86\u9078\u64c7\u8272\u8abf\uff0c\u9019\u4e9b\u6b04\u4f4d\u90fd\u6703\u81ea\u52d5\u986f\u793a\u6b63\u78ba\u7684\u503c\u3002<\/p>\n<h4>\u201cA\u201d\u6216 Alpha \u8f38\u5165\u5b57\u6bb5<\/h4>\n<p>\u201cA\u201d\u8868\u793a Alpha \u901a\u9053\u3002 Alpha \u901a\u9053\u6c7a\u5b9a\u8272\u8abf\u7684\u900f\u660e\u5ea6\u3002\u8a72\u503c\u53d7\u4ee5\u4e0b\u56e0\u7d20\u5f71\u97ff <strong>\u900f\u660e\u5ea6\u6ed1\u687f<\/strong>\u3002 Alpha \u503c\u7684\u7bc4\u570d\u662f 0 \u5230 100%\u3002\u5982\u679c\u60a8\u77e5\u9053\u8272\u8abf\u7684 Alpha \u503c\uff0c\u8acb\u5c07\u5176\u4e58\u4ee5 100 \u4e26\u5c07\u5176\u8f38\u5165\u5230\u6b64\u8f38\u5165\u6b04\u4f4d\u4e2d\u3002<\/p>\n<h5><strong>\u767c\u73fe\u66f4\u591a<\/strong><\/h5>\n<ul role=\"list\">\n<li>\u984f\u8272\u683c\u5f0f HEX\u3001RGB \u548c RGBA<\/li>\n<li><a href=\"https:\/\/www.w3schools.com\/colors\/colors_names.asp\">HTML \u984f\u8272\u540d\u7a31<\/a><\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u984f\u8272\u9078\u64c7\u5668\u9078\u64c7\u984f\u8272\u3002","protected":false},"author":2,"featured_media":4781,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[284],"tags":[],"class_list":{"0":"post-4780","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-layout-design","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts\/4780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/comments?post=4780"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/posts\/4780\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/media\/4781"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/media?parent=4780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/categories?post=4780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh\/wp-json\/wp\/v2\/tags?post=4780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}