{"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_cn\/color-selection-overview\/","title":{"rendered":"\u989c\u8272\u9009\u62e9\u6982\u8ff0"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p>\u5728\u521b\u5efa\u7f51\u7ad9\u65f6\uff0c\u9009\u62e9\u5b57\u4f53\u3001\u80cc\u666f\u3001\u8fb9\u6846\u6216\u4efb\u4f55\u5176\u4ed6\u5143\u7d20\u7684\u8272\u8c03\u662f\u4e00\u9879\u5e38\u89c4\u4efb\u52a1\u3002\u5229\u7528\u989c\u8272\u9009\u62e9\u5668\u9009\u62e9\u8272\u8c03\u5e76\u8c03\u6574\u5176\u900f\u660e\u5ea6\u3002\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u5728\u7f51\u7ad9\u4e0a\u5b9a\u4e49\u989c\u8272\u53d8\u91cf\uff0c\u5e76\u5728\u4f7f\u7528\u989c\u8272\u9009\u62e9\u5668\u65f6\u9009\u62e9\u5b83\u4eec\u3002<\/p>\n<h2>\u9009\u62e9\u989c\u8272\u5e76\u8c03\u6574\u5176\u900f\u660e\u5ea6<\/h2>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e0b\u5217\u65b9\u6cd5\u4e4b\u4e00\u9009\u62e9\u8272\u8c03\uff1a<\/p>\n<ul role=\"list\">\n<li>\u5229\u7528\u989c\u8272\u9009\u62e9\u5de5\u5177<\/li>\n<li>\u5229\u7528\u8272\u8c31\u548c\u63a7\u4ef6<\/li>\n<li>\u5728\u76f8\u5e94\u7684\u8f93\u5165\u5b57\u6bb5\u4e2d\u8f93\u5165\u503c<\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u76f4\u63a5\u4ece\u989c\u8272\u9009\u62e9\u5668\u67e5\u770b\u7f51\u7ad9\u4e0a\u6587\u672c\u7684\u5bf9\u6bd4\u5ea6\uff0c\u5b83\u4e0d\u4ec5\u5c55\u793a\u6587\u672c\u7684\u5bf9\u6bd4\u5ea6\uff0c\u8fd8\u5c55\u793a\u4e0e\u8be5\u5bf9\u6bd4\u5ea6\u76f8\u5bf9\u5e94\u7684 WCAG \u7ea7\u522b\u8bc4\u7ea7\u3002<\/p>\n<p>\u5bf9\u6bd4\u5ea6\u4f1a\u5f71\u54cd\u7f51\u7ad9\u7684\u53ef\u8bbf\u95ee\u6027\u3002\u8db3\u591f\u7684\u5bf9\u6bd4\u5ea6\u53d7\u524d\u666f\uff08\u6587\u672c\uff09\u548c\u80cc\u666f\u989c\u8272\uff08\u6587\u672c\u80cc\u540e\u7684\u80cc\u666f\uff09\u3001\u5b57\u4f53\u5927\u5c0f\u548c\u5b57\u4f53\u7c97\u7ec6\u7684\u5f71\u54cd\u3002<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u5207\u6362\u201c<strong>\u773c\u775b<\/strong>\u201d\u989c\u8272\u9009\u62e9\u5668\u5bf9\u6bd4\u5ea6\u90e8\u5206\u4e2d\u7684\u56fe\u6807\u53ef\u67e5\u770b AA\u3001AAA \u548c WCAG \u4e0a\u7684\u5931\u8d25\u8bc4\u7ea7\u4e4b\u95f4\u7684\u8f6c\u6362\u3002<\/p>\n<h3>\u5229\u7528\u989c\u8272\u9009\u62e9\u5de5\u5177<\/h3>\n<p>\u8981\u4ece\u753b\u5e03\u4e0a\u6216\u5f53\u524d\u6d4f\u89c8\u5668\u7a97\u53e3\u5916\u7684\u4efb\u4f55\u5143\u7d20\u4e2d\u9009\u53d6\u8272\u8c03\uff0c\u8bf7\u5229\u7528\u989c\u8272\u9009\u53d6\u5de5\u5177\u3002\u60a8\u53ef\u4ee5\u6309\u7a7a\u683c\u952e\u663e\u793a\u6216\u9690\u85cf\u76ee\u6807\u8272\u8c03\u7684 RGB \u6570\u5b57\u3002\u00a0<\/p>\n<h6><strong>\u6ce8\u610f\uff1a\u8981\u8bbf\u95ee\u989c\u8272\u9009\u62e9\u5de5\u5177\uff0c\u8bf7\u4f7f\u7528 Chrome \u6216 Edge \u4f5c\u4e3a\u6d4f\u89c8\u5668\uff08\u4f8b\u5982\u57fa\u4e8e Chromium \u7684\u6d4f\u89c8\u5668\uff09\u3002 <\/strong><strong>\u63a2\u7d22 Webflow \u652f\u6301\u7684\u6d4f\u89c8\u5668\u5217\u8868<\/strong><strong>.<\/strong><\/h6>\n<h3>\u5229\u7528\u8272\u8c31\u548c\u63a7\u4ef6<\/h3>\n<p>\u8981\u4ece\u5149\u8c31\u4e2d\u9009\u62e9\u8272\u8c03\uff0c\u8bf7\u5229\u7528 <strong>\u8272\u76f8\u6ed1\u5757<\/strong> \u9009\u62e9\u8272\u8c03\uff0c\u7136\u540e\u5229\u7528 <strong>\u989c\u8272\u5e73\u9762<\/strong> \u9009\u62e9\u5408\u9002\u7684\u8272\u8c03\u3002\u5982\u679c\u4f60\u60f3\u964d\u4f4e\u8272\u8c03\u7684\u900f\u660e\u5ea6\uff0c\u4f7f\u7528 <strong>\u900f\u660e\u5ea6\u6ed1\u5757<\/strong>.<\/p>\n<h4>\u989c\u8272\u5e73\u9762<\/h4>\n<p>\u8272\u5f69\u5e73\u9762\u53ef\u8ba9\u60a8\u9009\u62e9\u8981\u4f7f\u7528\u7684\u8272\u8c03\u3002\u60a8\u53ef\u4ee5\u6cbf x \u8f74\u79fb\u52a8\u9009\u62e9\u5668\u4ee5\u6539\u53d8\u8272\u8c03\u7684\u9971\u548c\u5ea6\uff0c\u6cbf y \u8f74\u79fb\u52a8\u9009\u62e9\u5668\u4ee5\u4fee\u6539\u4eae\u5ea6\u3002\u8981\u66f4\u6539\u8272\u8c03\uff0c\u8bf7\u4f7f\u7528 <strong>\u8272\u76f8\u6ed1\u5757<\/strong> \u4ee5\u4e0b\u3002<\/p>\n<h4>\u8272\u76f8\u6ed1\u5757<\/h4>\n<p>\u8272\u8c03\u6ed1\u5757\u53ef\u8ba9\u60a8\u4ece\u8272\u8c03\u5149\u8c31\u4e2d\u9009\u62e9\u8981\u4f7f\u7528\u7684\u8272\u8c03\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <strong>\u989c\u8272\u5e73\u9762<\/strong> \u591a\u4e8e\u3002<\/p>\n<h4>\u900f\u660e\u5ea6\u6ed1\u5757<\/h4>\n<p>\u900f\u660e\u5ea6\u6ed1\u5757\u53ef\u8ba9\u60a8\u6307\u5b9a\u8272\u8c03\u7684\u900f\u660e\u5ea6\u7ea7\u522b\u3002100% \u5c06\u4f7f\u8272\u8c03\u5b8c\u5168\u4e0d\u900f\u660e\uff0c\u4f4e\u4e8e\u8be5\u503c\u7684\u4efb\u4f55\u503c\u90fd\u5c06\u4f7f\u8272\u8c03\u900f\u660e\u3002\u8fd9\u5728\u56fe\u50cf\u4e0a\u6dfb\u52a0\u8272\u8c03\u53e0\u52a0\u6216\u5efa\u7acb\u900f\u660e\u80cc\u666f\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<h3>\u5728\u76f8\u5e94\u7684\u8f93\u5165\u5b57\u6bb5\u4e2d\u8f93\u5165\u503c<\/h3>\n<p>\u5982\u679c\u60a8\u5e0c\u671b\u5728\u9009\u62e9\u8272\u8c03\u65f6\u66f4\u52a0\u7cbe\u786e\uff0c\u53ef\u4ee5\u4f7f\u7528 Web \u989c\u8272\u540d\u79f0\u3001\u5341\u516d\u8fdb\u5236\u4ee3\u7801\u3001HSB\/HSBA \u503c\u6216 RGB\/RGBA \u503c\u3002\u60a8\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u503c\u7c98\u8d34\u5230\u6837\u5f0f\u9762\u677f\u6216 <strong>\u5341\u516d\u8fdb\u5236\u8f93\u5165\u5b57\u6bb5<\/strong> \u5728\u989c\u8272\u9009\u62e9\u5668\u4e2d\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u5206\u89e3\u4ee3\u7801\u5e76\u5728\u5176\u6307\u5b9a\u5b57\u6bb5\u4e2d\u8f93\u5165\u6bcf\u4e2a\u503c\uff1a<\/p>\n<ul role=\"list\">\n<li>\u5341\u516d\u8fdb\u5236\u503c <strong>HEX \u5b57\u6bb5<\/strong><\/li>\n<li>HSBA \u503c\u7ec6\u5206\u5982\u4e0b <strong>HSB \u548c A \u5b57\u6bb5<\/strong><\/li>\n<li>RGBA \u503c\uff0c\u5206\u5f00\uff0c\u5728 <strong>RGB \u548c A \u5b57\u6bb5<\/strong><\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u5355\u51fb\u6807\u7b7e\u5728 HSB \u548c RGB \u4e4b\u95f4\u5207\u6362\u3002<\/p>\n<h4>\u5341\u516d\u8fdb\u5236\u8f93\u5165\u5b57\u6bb5<\/h4>\n<p>\u6b64\u8f93\u5165\u5b57\u6bb5\u652f\u6301\u6240\u6709\u7f51\u9875\u989c\u8272\u683c\u5f0f\uff0c\u5141\u8bb8\u60a8\u8f93\u5165\u4efb\u4f55 HTML \u989c\u8272\u503c\u3002\u6240\u6709\u503c\u90fd\u5c06\u8f6c\u6362\u4e3a\u5341\u516d\u8fdb\u5236\u3002\u4e86\u89e3\u6709\u5173\u5341\u516d\u8fdb\u5236\u4ee3\u7801\u548c\u7f51\u9875\u989c\u8272\u683c\u5f0f\u7684\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n<h4>HSB \u548c RGB \u8f93\u5165<\/h4>\n<p>\u5728 HEX \u8f93\u5165\u5b57\u6bb5\u65c1\u8fb9\uff0c\u6709 3 \u4e2a\u8f93\u5165\u5b57\u6bb5\u6807\u6709\u201cHSB\u201d\u3002\u5982\u679c\u5355\u51fb\u6807\u7b7e\uff0c\u5b83\u5c06\u5207\u6362\u4e3a\u201cRGB\u201d\u3002\u8981\u6062\u590d\uff0c\u8bf7\u518d\u6b21\u5355\u51fb\u6807\u7b7e\u3002<\/p>\n<p>\u201cH\u201d \u4ee3\u8868\u8272\u8c03\u3002\u4f7f\u7528 <strong>\u8272\u76f8\u6ed1\u5757<\/strong>\uff0c\u6807\u8bb0\u4e3a\u201cH\u201d\u7684\u5b57\u6bb5\u4e2d\u7684\u503c\u5c06\u66f4\u65b0\u3002\u201cS\u201d\u4ee3\u8868\u9971\u548c\u5ea6\uff0c\u201cB\u201d\u4ee3\u8868\u4eae\u5ea6\u3002\u8fd9\u4e9b\u503c\u5c06\u968f\u7740\u60a8\u5728 <strong>\u989c\u8272\u5e73\u9762<\/strong>\u3002\u5982\u679c\u60a8\u77e5\u9053\u60f3\u8981\u4f7f\u7528\u7684\u8272\u8c03\u7684 HSB \u503c\uff0c\u5219\u53ef\u4ee5\u5728\u9002\u5f53\u7684\u5b57\u6bb5\u4e2d\u8f93\u5165\u8be5\u503c\u3002<\/p>\n<p>\u5982\u679c\u60a8\u77e5\u9053\u8272\u8c03\u7684 RGB \u503c\uff0c\u8bf7\u5355\u51fb HSB \u6807\u7b7e\u5e76\u8f93\u5165\u7ea2\u8272\u201cR\u201d\u3001\u7eff\u8272\u201cG\u201d\u548c\u84dd\u8272\u201cB\u201d\u7684\u503c\u3002\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u5de5\u5177\u6765\u9009\u62e9\u8272\u8c03\uff0c\u8fd9\u4e9b\u5b57\u6bb5\u90fd\u4f1a\u81ea\u52a8\u663e\u793a\u6b63\u786e\u7684\u503c\u3002<\/p>\n<h4>\u201cA\u201d \u6216 Alpha \u8f93\u5165\u5b57\u6bb5<\/h4>\n<p>\u201cA\u201d \u8868\u793a Alpha \u901a\u9053\u3002Alpha \u901a\u9053\u51b3\u5b9a\u8272\u8c03\u7684\u900f\u660e\u5ea6\u3002\u8be5\u503c\u53d7 <strong>\u900f\u660e\u5ea6\u6ed1\u5757<\/strong>\u3002Alpha \u503c\u7684\u8303\u56f4\u4e3a 0 \u5230 100%\u3002\u5982\u679c\u60a8\u77e5\u9053\u8272\u8c03\u7684 alpha \u503c\uff0c\u8bf7\u5c06\u5176\u4e58\u4ee5 100\uff0c\u7136\u540e\u5c06\u5176\u8f93\u5165\u5230\u6b64\u8f93\u5165\u5b57\u6bb5\u4e2d\u3002<\/p>\n<h5><strong>\u53d1\u73b0\u66f4\u591a<\/strong><\/h5>\n<ul role=\"list\">\n<li>\u989c\u8272\u683c\u5f0f HEX\u3001RGB \u548c RGBA<\/li>\n<li><a href=\"https:\/\/www.w3schools.com\/colors\/colors_names.asp\">HTML \u989c\u8272\u540d\u79f0<\/a><\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u989c\u8272\u9009\u62e9\u5668\u9009\u62e9\u989c\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_cn\/wp-json\/wp\/v2\/posts\/4780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/comments?post=4780"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/4780\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media\/4781"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media?parent=4780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/categories?post=4780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/tags?post=4780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}