{"image_url":null,"categories":[],"description":"bouzuya/resemble \u3067 0.3 * r + 0.59 * g + 0.11 * b \u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u3044\u308b\u3002\u3044\u308d\u3044\u308d\u51fa\u3066\u304d\u3066\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3002 \u3053\u308c\u306b\u4ed8\u3051\u3089\u308c\u3066\u3044\u305f\u5143\u306e\u540d\u524d\u306f getBrightness \u3060\u3002\u8272\u3092\u7121\u8996\u3057\u305f\u3068\u304d\u306e\u6bd4\u8f03\u3084\u3001\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u306e\u30d4\u30af\u30bb\u30eb\u306e RGB \u306e\u5404\u5024\u306a\u3069\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3002 \u6700\u521d HSL \u306e L: Lightness \u304b\u3068\u601d\u3063\u3066\u3001\u307c\u304f\u306f getLightness \u306b\u540d\u524d\u3092\u5909\u3048\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u3069\u3046\u3082\u602a\u3057\u3044\u3002\u82f1\u8a9e\u7248\u306e Wikipedia \u306e HSL and HSV \u306b\u3088\u308b\u3068 L \u306b\u3082\u3044\u304f\u3064\u304b\u306e\u7b97\u51fa\u65b9\u6cd5\u304c\u3042\u308b\u3089\u3057\u3044\u3002 I / V / L / Y'601 \u304c\u6319\u3052\u3089\u308c\u3066\u3044\u308b\u2026","height":"190","author_name":"bouzuya","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2018%2F01%2F01%2F211611\" title=\"\u8272\u7a7a\u9593\u3067\u6df7\u4e71\u3059\u308b / \u30a2\u30b8\u30e3\u30a4\u30eb\u30b3\u30fc\u30c1\u30f3\u30b0\u3092\u8aad\u307f\u306f\u3058\u3081\u305f / \u3042\u3044\u3055\u3064 - bouzuya.hatenablog.com\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/bouzuya/","width":"100%","blog_title":"bouzuya.hatenablog.com","provider_url":"https://hatena.blog","title":"\u8272\u7a7a\u9593\u3067\u6df7\u4e71\u3059\u308b / \u30a2\u30b8\u30e3\u30a4\u30eb\u30b3\u30fc\u30c1\u30f3\u30b0\u3092\u8aad\u307f\u306f\u3058\u3081\u305f / \u3042\u3044\u3055\u3064","url":"https://bouzuya.hatenablog.com/entry/2018/01/01/211611","provider_name":"Hatena Blog","blog_url":"https://bouzuya.hatenablog.com/","version":"1.0","type":"rich","published":"2018-01-01 21:16:11"}